+

Search Tips   |   Advanced Search

Assembling 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 application server.

After you develop the web service application, you are now ready to assemble the application. Assembling a web service application consists of creating the Java EE modules we can deploy onto application servers. The modules are created from code artifacts such as WAR files for JavaBeans 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 application server.

  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 EAR file.

  4. Enable the EAR file for EJB modules containing web services.
    When the EAR file contains EJB modules containing web services, you must 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 Java Message Service (JMS) or SOAP over HTTP.

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


Results

You have a web services-enabled EAR file we can deploy onto the application server.


What to do next

Now we need to deploy the web services-enabled EAR file onto the application server. To learn more, read about deploying web services applications onto application servers


Subtopics


Related concepts

  • EJB content in WAR modules
  • Development and 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 application servers
  • Assembling applications
  • Configure webservices.xml for JAX-RPC web services
  • Configure webservices.xml for handler classes
  • Configure the ibm-webservices-bnd.xmi deployment descriptor for JAX-RPC web services

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