This topic explains how to assemble Java-based Web services applications.
About this task
This task provides information about what you need to assemble
a Web service and in what order you should assemble the parts, for example
an enterprise archive (EAR) file. Assembling a Web service is done after you
develop the application and configure the deployment descriptors.
Assemble
Web services applications by following the actions in the steps for this task
section.
Procedure
- Start
an assembly tool. The Eclipse assembly tools, Application
Server Toolkit (AST) and Rational Web Developer, provide a graphical interface
for developing code artifacts, assembling the code artifacts into various
archives or modules and configuring related J2EE Version 1.2, 1.3 or 1.4 compliant
deployment descriptors.
- Assemble a Web
services-enabled enterprise bean JAR file into an EAR file.
- (Optional) Enable
the EAR file. When the EAR file contains enterprise JavaBeans
(EJB) modules, it must have the Web services endpoint Web archive (WAR) file
added with the endptEnabler command-line tool or an assembly tool before
deployment.
- Assemble
a Web services-enabled WAR file into an EAR file.
Results
You have a Web services-enabled EAR file that you can deploy into
WebSphere Application Server.