Develop Web services based on Web Services for J2EE

 

Overview

This topic explains how to develop a Web service using the Web Services for Java 2, Enterprise Edition (J2EE) specification. Web services are structured in a service-oriented architecture (SOA) that makes integrating your business and e-commerce systems more flexible.

For more information about when and how to use Web services see Using Web services based on Web Services for J2EE.

WebSphere Application Server Version 5.0.2, 5.1 and 5.1.1 follow these standards:

You can also use the WebSphere Studio Application Developer development tools to develop Web services that integrate with WebSphere Application Server.

Before you develop a Web service you need to Set up a Web services development and unmanaged client execution environment .

Follow the Example: Developing Web services based on Web Services for J2EE for a step-by-step look at this task.

 

Overview

You can develop a Web service based on Web Services for J2EE in one of four ways:

  1. Develop a Web service using a Java bean.

  2. Develop a Web service using an enterprise bean.

  3. Develop a Web service with an existing WSDL file using a Java bean.

  4. Develop a Web service with an existing WSDL file using a stateless session enterprise bean.

 

What to do next

Assemble the Web service.


Related concepts
Web Services for J2EE
Java API for XML-based remote procedure call (JAX-RPC)
WSDL
SOAP
Service-oriented architecture
Web services approach to a service-oriented architecture
Overview: Online garden retailer Web services scenarios[V5.1 and later]
Web services
Web services business models supported
Related tasks
Planning to use Web services based on Web Services for J2EE
Developing a WSDL file
Configuring the webservices.xml deployment descriptor
Configuring the ibm-webservices-bnd.xmi deployment descriptor
Configuring the webservices.xml deployment descriptor for Handler classes
Developing Web services clients based on Web Services for J2EE
Assembling Web services applications based on Web Services for J2EE
Related reference
Example: Developing a Web service from an EJB or JavaBean
Artifacts used to develop Web services based on Web Services for J2EE
Mapping between Java language, WSDL and XML
Java2WSDL command
WSDL2Java command