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 Java EE
category.
In the Server and Settings page, you have to set the following properties:
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 a Java EE server such as the GlassFish application server.
You can register multiple remote instances of the application
server. You can click Add to register a server using the Server
Manager.
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 level of the EJB specification that is
used by the EJB.
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.
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.
If you are creating an EJB module with existing sources, you must click Next to specify existing sources and libraries.