Show TOC Start of Content Area

Background documentation Assembling the MDB Application Locate the document in its SAP Library structure

Use this procedure to package the MDB in an application archive (EAR file). The EAR file contains the JAR file with the application components, as well as deployment descriptors – application.xml and application-j2ee-engine.xml.

Creating the Enterprise Application Project

...

       1.      From the menu path choose File ® New ®  Project.

       2.      Select J2EE and Enterprise Application Project. Choose Next.

       3.      Enter MDBEnterprise as the project name and leave the default settings unchanged. Choose Next.

       4.      Select MDBTest as referenced projects. Choose Finish.

       5.      The wizard generates the project structure of the new Enterprise Application project.

This graphic is explained in the accompanying text

Building the EAR file

...

       1.      In the J2EE Explorer view, select MDBEnterprise and open the context menu.

       2.      Choose Build Application Archive.

The system displays a message to inform you that the build has been successful.

       3.      Choose OK.

The Enterprise archive file MDBEnterprise.ear has been generated. It contains all the EJB classes, along with the deployment descriptors from the Enterprise Application project.

This graphic is explained in the accompanying text

Next Step

Deploying and Running the MDB

End of Content Area