New Enterprise Application Wizard with Existing Sources: Server and Settings

The New Enterprise Application wizard creates a new standard project  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:

Element Description

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.

Copy Server JAR Files to Libraries Folder

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.



Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.