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:
- SOAP V1.1
- WSDL V1.1
- Web Services for J2EE (JSR-109) V1.0
- Java API for XML-based remote procedure call (JAX-RPC) V1.0
- SOAP with Attachments API for Java (SAAJ) V1.1
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:
- Develop a Web service using a Java bean.
- Develop a Web service using an enterprise bean.
- Develop a Web service with an existing WSDL file using a Java bean.
- Develop a Web service with an existing WSDL file using a stateless session enterprise bean.
What to do next
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
Web services
Web services business models supported
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
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