Creating an Ear File


The structure of your Enterprise Application project QuickCarRentalEar is currently displayed in the J2EE Explorer.


       1.      If necessary, choose the menu path Project ® Rebuild All to rebuild all projects.

       2.      Select project node QuickCarRentalEar again and open the context menu.

       3.      Choose Build Application Archive.

       4.      Choose OK to confirm the message saying that files were generated successfully.


The archive file QuickCarRentalEar.ear has been created. It contains all the Web resources, the EJBs, and the auxiliary classes, along with the DataSource alias and the two deployment descriptors from the Enterprise Application project. The archive file is added to the project structure.

Next step:

Deploying an EAR