Home

 

Importing the base EJB enterprise application sample

To import the base enterprise application sample that we use as a starting point for this chapter, do these steps:

From the workbench, select File Æ Import.

In the Import dialog, select Project Interchange and click Next.

In the Import Project Interchange Contents dialog, locate the file c:\7672code\zInterchange\ejb\RAD75EJB.zip.

Select all projects (RAD75EJB, RAD75EJBEAR, RAD75EJBTestWeb and RAD75JPA. Click Finish.

After the Import wizard has completed the import, four projects have been added to the workspace:

RAD75EJB: This project contains the EJBs that make up the business logic of the ITSO Bank. The EJBBankBean session bean acts as a facade for the EJB application. This project is packaged inside RAD75EJBEAR when exported and deployed on an application server.

RAD75EJBEAR: This is the deployable enterprise application, which functions as a container for the remaining projects. This enterprise application must be executed on an application server.

RAD75EJBTestWeb: This is the sample Web application that is developed to test the EJB 3.0 session bean and entity model. This project is packaged inside RAD75EJBEAR when exported and deployed on an application server.

RAD75JPA: This Java project holds JPA entities that are passed between the session facade and the client applications.
ibm.com/redbooks