Add new EJB projects

You may have a requirement to create additional EJB projects, however your if you do, we must locate your JPA entity in the WebSphereCOmmerceServerExtensionData project.


Task info

To add an EJB project to your workspace:


Procedure

  1. Select File > New > EJB Project.

  2. In the New EJB Project wizard that opens:

    1. In the Name field, enter a name for your EJB project.

    2. Click Show Advanced.

    3. From the EJB version list, select 3.1.

    4. In the EAR project list, select WC.

    5. Click Finish.

  3. Within the Project Explorer view, expand EJB Modules and locate your new project.

  4. From your new project's pop-up menu, select Properties.

  5. In the Properties editor window:

    1. In the left pane, select Java Build Path.

    2. Click the Projects tab and select the WebSphereCommerceServerExtensionsData check box.

    3. Click OK to save our changes and close the Properties editor.


Related concepts
WebSphere Commerce development environment
WebSphere Commerce workspace


Related tasks
Working with enterprise beans


Related reference
Use of EJB 2.x entity beans