This wizard creates a new containing an EJB module. You open the wizard by opening the
New
Project wizard and selecting the EJB Module template from the Enterprise
category.
In the Name and Location page, you have to set the following properties:
Project Name. Specifies the display name of the project. This name
is also used to create the project folder.
Project Location. Specifies the folder where you want to create the
project folder.
Project Folder. Displays the location of the project folder, which
contains the primary source package folder and test packages folder for your
project. The project folder also contains your project's Ant build script
and project metadata. You can add additional source folders after you create
the project.
Add to Enterprise Application. Lets you add the EJB module to any
open enterprise application project.
Server. Specifies the server to which the EJB module is deployed.
You can only deploy EJB modules to the Sun Java System Application Server.
You can have multiple remote instances of the Sun Java System Application
Server registered. To register servers, choose Tools > Server
Manager.
J2EE Version. Specifies the level of the EJB specification that is
used by the EJB. The IDE only supports J2EE 1.4 EJB modules and automatically
updates the specification number in your module's ejb-jar.xml to
1.4. J2EE 1.4 is fully backwards-compatible, so upgrading the specification
level does not change the behavior of your code.
Source Level Recommendations. One of the following checkboxes will appear
if 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. Sets the newly created project as the main
project.
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.