This wizard creates a new containing an enterprise application client. You open the wizard by opening the
New
Project wizard and selecting the Enterprise Application Client with Existing Sources template
from the Enterprise category.
Your existing application client source does not have to adhere to any particular directory
structure. You specify the locations of the configuration files, libraries,
and source roots. The only requirement is that the module contain a valid application-client.xml
deployment descriptor.
In the Name and Location page, you have to set the following properties:
Location. Specifies the parent folder that contains the existing
EJB module. Typically, this is the folder that contains the configuration
files folder, the libraries folder, and the primary source folder. The IDE
scans this folder and tries to suggest locations for the Configuration Files
and Libraries fields.
Project Name. Specifies the display name of the project.
Project Folder. Specifies the location where the module's project
folder is created. The project folder contains project metadata like the project's
Ant build script. You can place the project folder in the same location as
your sources or in a separate location.
Add to Enterprise Application. Lets you add the EJB module 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 > Server Manager.
J2EE Version. Specifies the level of the Java EE specification that is
used for the application client. You can choose J2EE 1.4 or Java EE 5 versions.
If you set the J2EE version to 1.4, you should also set the source level to 1.4 in
the combo box that appears.
Source Level Recommendations. One of the following checkboxes will appear
if the J2EE Version version is set to J2EE 1.4 and JDK 1.5 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.
Set as Main Project. Specifies the project as your main entry point
and place of work.