[TIP] Create J2EE project in different J2EE version

When you are creating new Web Application you can specify what J2EE version it will be support in the New Project wizard.
If you don't see J2EE 5 in your IDE it means that you don't have the a server with J2EE 5 support installed.



You can easily specify what J2EE you want in the combobox. Remember: the wizards won't create JAX-RPC webservice/webservice client when your project is J2EE 5... It will generate annotations and the rest of WS 2.0 stuff...
Comments:

yes it is not showing the J2EE 5 in combobox
can u please tell me how to get support with J2EE 5 support with my IDE..

Posted by anitha on September 18, 2007 at 08:56 AM CEST #

What server are you using? You need a server that supports the Java EE 5. This works with glassfish (sun application server). It doesn't work with Tomcat.

Posted by Lukas on September 18, 2007 at 09:08 AM CEST #

im using tomcat...

how to use sun application server

Posted by anitha on September 18, 2007 at 09:18 AM CEST #

you can download glassfish+NB in one bundle then it will work automatically. You already have NB installed therefore you can download glassfish separatelly. https://glassfish.dev.java.net/downloads/v1_ur1-p01-b02.html

Install it to your computer then add new server in NB - look at chapter "Registering the Server with the IDE" at http://www.netbeans.org/kb/55/quickstart-webapps.html

Posted by Lukas on September 18, 2007 at 09:35 AM CEST #

tnq Lukas

Posted by anitha on September 18, 2007 at 10:10 AM CEST #

im getting problem whern i am running ant -f setup.xml command in command prompt
error: 'ant' is not recognized as an internal or external command, operable program or batch file.

can u help me in this issue

Anitha

Posted by anitha on September 18, 2007 at 01:43 PM CEST #

the easiest way for you will be:<br>
1, add the directory with the xml to Favorites in NB IDE. Open Window > Favorites. Right click to the Favorites view and Add.<br>
2, run the "all" target from the setup.xml. Right click the file "Run Target > all"<br>
It should be all.

Posted by Lukas on September 19, 2007 at 09:56 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This is the main channel to share news, tips and other stuff related to my work. Sometimes you can find even personal stuff. Enjoy your reading...

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
news
Blogroll

No bookmarks in folder

OldNews
MyTrash
NavBar
NetBeans
LinksToBeExpanded