Assembling Web services applications

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

Before you begin

You can assemble Java-based Web services modules with assembly tools provided with the application server.

About this task

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.

Procedure

  1. Start an assembly tool. Read about starting the assembly tool in the Rational® Application Developer documentation.
  2. Assemble your 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 Enterprise JavaBeans™ (EJB) modules that contain 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 that you can deploy onto the application server.

What to do next

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



In this information ...


Related concepts

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Oct 20, 2010 11:50:58 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-base-iseries&topic=twbs_assemblewbs2
File name: twbs_assemblewbs2.html