+

Search Tips   |   Advanced Search

Assemble Web services applications


We can assemble Java -based Web services applications using assembly tools.

We can assemble Java -based Web services modules with assembly tools provided with the appserver.

After you develop the Web service application, we are now ready to assemble the application. Assembling a Web service application consists of creating the Java EE modules that we can deploy onto appservers. The modules are created from code artifacts such as Web app archives (WAR) files for Java Beans applications or enterprise beans 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 appserver.

 

  1. Start an assembly tool. Read about starting the assembly tool in the Rational Application Developer documentation.

  2. Assemble the Web services enabled bean into the appropriate module.

  3. Assemble the Web services enabled module into an enterprise archive (EAR) file.

  4. Enable the EAR file for EJB modules that contain Web services. When the EAR file contains EJB modules that contain Web services, run the endptEnabler command-line tool or an assembly tool before deployment to produce a Web services endpoint WAR file. This tool is also used to specify whether the Web services are exposed using SOAP over JMS or SOAP over HTTP.

  5. Assemble a Web services-enabled WAR file into an EAR file.

 

Results

we have a Web services-enabled EAR file that we can deploy onto the appserver.

 

Next steps

Now we need to deploy the Web services-enabled EAR file onto the appserver.


Assembling a JAR file that is enabled for Web services from an enterprise bean
Assembling a Web services-enabled enterprise bean JAR file from a WSDL file
Assembling a WAR file that is enabled for Web services from Java code
Assembling a Web services-enabled WAR file from a WSDL file
Assembling an enterprise bean JAR file into an EAR file
Assembling a Web services-enabled WAR into an EAR file
Enable an EAR file for EJB modules that contain Web services

 

Related concepts


Assembly tools

 

Related tasks


Assembling a Web services-enabled client JAR file into an EAR file
Assembling a JAR file that is enabled for Web services from an enterprise bean
Assembling a Web services-enabled enterprise bean JAR file from a WSDL file
Assembling a WAR file that is enabled for Web services from Java code
Assembling a Web services-enabled WAR file from a WSDL file
Deploy Web services applications onto appservers
Assembling applications
Set the webservices.xml deployment descriptor for JAX-RPC Web services
Set the webservices.xml deployment descriptor for handler classes
Set the ibm-webservices-bnd.xmi deployment descriptor for JAX-RPC Web services

 

Related


JAX-RPC Web services enabled module - deployment descriptor settings (ibm-webservices-bnd.xmi file)