Develop Web services applications

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

 

Before you begin

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

 

Overview

WebSphere Application Server uses Web services standards developed for the Java language under the Java Community Process (JCP). WebSphere Application Server follows these standards:

WebSphere Application Server provides extensions to the JSR-101 and JSR-109 programming models. See Extensions to the JSR-101 and JSR-109 programming models for more information.

You can also use the Rational Application Developer graphical user interface development tools to develop Web services that integrate with WebSphere Application Server.

You can develop Web services in one of four ways:

 

Procedure

  1. Develop Web services using JavaBeans implementation.

  2. Develop Web services using a stateless session enterprise bean.

  3. Develop Web services with an existing WSDL file using JavaBeans implementation.

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

 

Result

You have developed a Web service.

 

What to do next

Assemble the Web service.

This topic presents what we need to assemble a Web service and in what order you should assemble the parts, for example an enterprise archive (EAR) file.

 

See also


Example: Developing a Web service from an EJB or JavaBeans implementation
Artifacts used to develop Web services
Mapping between Java language, WSDL and XML
Transport level security
Extensions to the JAX-RPC and Web Services for J2EE programming models
Java2WSDL command
WSDL2Java command
Using HTTP to transport Web services requests
Configuring HTTP outbound transport level security with the administrative console
Configuring HTTP outbound transport level security with an assembly tool
Configuring HTTP outbound transport-level security using Java properties
HTTP basic authentication
Configuring HTTP basic authentication with the administrative console
Configuring HTTP basic authentication with an assembly tool
Configuring HTTP basic authentication programmatically
Configuring additional HTTP transport properties using the administrative console
Configuring additional HTTP transport properties with an assembly tool
Configuring additional HTTP transport properties using wsadmin
Additional HTTP transport properties for Web services applications
Using the Java Message Service API to transport Web services requests
Using WSDL EJB bindings to invoke an EJB from a Web services client
Setting up a development and unmanaged client run-time environment for Web services
Developing a Web service from a Java bean
Developing a Web service from an enterprise bean
Developing a new Web service with an existing WSDL file using JavaBeans technology
Developing new Web services from an existing WSDL file using an EJB implementation

 

See Also


Web Services for J2EE specification
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

 

Related Tasks


Planning to use Web services
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
Assembling Web services applications