You can assemble Java-based web services applications using assembly tools.
You can assemble Java-based web services modules with assembly tools provided with the application server.
After you develop your web service application, you are now ready to assemble the application. Assembling a web service application consists of creating the Java Platform, Enterprise Edition (Java EE) modules that you can deploy onto application servers. The modules are created from code artifacts such as web application archives (WAR) files for JavaBeans applications or enterprise beans Java archive (JAR) files for enterprise beans applications. This packaging and configuring of code artifacts into enterprise application modules (EAR files) or standalone web modules is necessary for deploying the modules onto an application server.