After you have tested your enterprise beans, you can export the module into an EJB JAR file.
When you export an EJB project, the contents of the project are exported into an EJB JAR file regardless of whether deployment code has been generated or not. You can use the exported server-side JAR file as the client JAR file, since it contains all of the required code from both a server-side and client-side perspective.
To export an EJB project, complete the following steps:
To deploy your EJB JAR file to an application server after you export it, you need to use the deployment tools provided by the vendor of that server.