The New Enterprise Application wizard creates a new containing an empty enterprise application. You open the New Enterprise Application
wizard by opening the New Project wizard and selecting
the Enterprise Application template from the Java EE category.
In the Server and Settings page, you have to set the following properties:
Server. Specifies the server where you want the enterprise application to be deployed.
Only servers that are registered with the IDE
are available to be selected here. Any servers installed as part of the IDE installation are registered by default.
Note that you cannot deploy Java EE applications and JSR-109 web service clients to the Tomcat Web Server.
Use Dedicated Library Folder for Server JAR Files. If you are using a dedicated folder for storing libraries,
you can select this option to copy the server JAR files required for compilation into the dedicated libraries folder.
If not selected, other users will need local copies of the server JAR files to build the project.
Java EE Version. Specifies the Java EE level against which you want to develop your enterprise
application. You can deploy your application to an implementation that supports that specification level
or a higher specification level.
One of the following checkboxes will appear when JDK 1.5 is set as the default platform
in the Java Platform Manager
and if you choose a source level other than JDK 1.5.
The J2EE 1.4 and J2EE 1.3 specifications do not recommend JDK 1.5. Therefore, if you want
to create a portable application, select the appropriate checkbox:
Use JDK 1.4 and Set Source Level to 1.4. This checkbox appears if
JDK 1.4 is available in the
Java Platform Manager. Select this checkbox to set both your JDK level and your source level to 1.4.
Set Source Level to 1.4. This checkbox appears if JDK 1.4 is not available
in the Java Platform Manager. Select this checkbox so that at least your source level is set to 1.4.
Create EJB Module. Sets whether an EJB module is created as a submodule of the enterprise application,
and its name. By default, it is created and named project-name-ejb. If you do
not let the IDE create the EJB module together with the enterprise application, you can
Create an EJB Module Project later.
Create Web Application Module. Sets whether a web application module is created as a submodule of the
enterprise application, and its name. By default, it is created and named project-name-war.
If you do not let the IDE create the EJB module together with the enterprise application, you can
create a Web Application project later.
When you click Finish, the project is created on your computer and opened in the IDE.
You can view its logical structure in the
Projects window
and its file structure in the Files window.