Use this procedure to create a JAR file that contains the MDB and deployment descriptors – ejb-jar.xml and ejb-j2ee-engine.xml. You have created and compiled the MDB enterprise bean in the project MDBTest.
...
1. In the J2EE Explorer, select the project node MDBTest and open the context menu.
2. Choose Build EJB Archive.
3. Choose OK.
The archive file MDBTest.jar has been generated. It contains all the classes of the EJB module project.