Creating an EJB project

Select EJB project on the New Source Project Creation page to create a new EJB project for your J2C application.
If you want to learn more about creating EJB projects, consult the EJB Project documentation.
  1. Once you select EJB Project on the New Source Project Creation page of the J2C wizard, the New EJB Project page appears. To use an existing project, click Browse to locate and load this project into your workspace. The name you entered for your project in the New J2C Java™ Bean page page should appear in the name field; ensure that it is correct. If the project name does not appear, type in your project name in the name field.
  2. In the Name field, type a name for the EJB project. To change the default Project location, click the Browse button to select a new location.
  3. In the Target server list, select the application server that you want to target for your development. This selection affects the compilation and runtime settings by modifying the class path entries for the project.
    Note: WebSphere® Application Server 5.1 Express is not supported and should not be chosen.
    Note: If you type a new EAR project name, the EAR project will be created in the default location with the lowest compatible J2EE version based on the version of the project being created. If you want to specify a different version or a different location for the enterprise application, you must use the New Enterprise Application Project wizard.
  4. Optional: Select the Create an EJB Client JAR Project to hold the client interfaces and classes check box if you want the client interface classes for your enterprise beans to be kept in a separate EJB client JAR file. This EJB client JAR file will be added to the enterprise application as a project utility JAR file.
  5. Optional: If you are creating an EJB Client JAR project, click Next to specify the client JAR project options.
  6. If you selected Configure Resource Adapter Deployment on the Deployment Information page, click Next to specify the RAR settings.
  7. If you did not select Configure Resource Adapter Deployment on the Deployment Information page, click Finish.
This will take you to the J2C Java Bean Output Properties page.

Feedback