New Enterprise Application Wizard: Server and Settings

This wizard creates a new standard project  containing an enterprise application client module. You open the wizard by opening the New Project wizard and selecting the Enterprise Application Client template from the Java EE category.

In the Server and Settings page, you have to set the following properties:

Element Description

Add to Enterprise Application

Lets you add the application client to any open enterprise application project.

Server

Specifies the server to which the application client's enterprise application is deployed. To register servers, choose Tools > Servers.

Java EE Version

Specifies the level of the Java EE specification that is used for the application client. If you set the Java EE version to 1.4, you should also set the source level to 1.4 in the drop-down list that appears.
Source Level Recommendations One of the following checkboxes will appear if the Java EE Version is set to J2EE 1.4 and JDK 1.5 or JDK 1.6 is set as the default platform in the Java Platform Manager. 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.

Note: If you are creating an application client with existing sources, you must click Next to specify existing sources and libraries.


Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

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