Creating a Jar File

You have maintained the descriptions needed for your car rental application in the deployment descriptors and can now create the corresponding archive file.

Prerequisites

The structure of your project QuickCarRentalEjb is currently displayed in the J2EE Explorer.

Procedure

...

       1.      Choose the project node QuickCarRentalEjb in the J2EE Explorer.

       2.      Open the context menu and choose Build EJB Archive.

       3.      Confirm the message that files were generated successfully with OK.

Result

The archive file QuickCarRentalEjb.jar has been created. It contains all the classes in the referenced EJB Module project and the three deployment descriptors.

Next step:

Implementing a Web Application