Web Services for J2EE

The Web services for J2EE specification defines the programming model and run-time architecture for implementing Web services based on the Java language. Another name for Web Services for J2EE is the Java Specification Requirements (JSR) 109. The specification includes open standards for developing and implementing Web services.

WAS Versions 5.0.2 and 5.1 use Web Services for J2EE 1.0 as the standard for developing and implementing Web services. Web Services for J2EE 1.0 is an API include in J2EE 1.3. Before Version 5.0.2, WAS developed and implemented Web services based on Apache SOAP.

Web Services for J2EE focuses on eXtensible Markup Language (XML) remote procedure call (RPC) and the Java language, including representing XML-based interface definitions in the Java language; Java language definitions in XML-based definition languages, such as SOAP, and assembling.

Web Services for J2EE is the preferred platform for Web-based programming because it provides open standards allowing different types of languages, operating systems and software to communicate seamlessly through the Internet.

In order to achieve the benefits of using Web Services for J2EE, the Web services that you want to communicate with (provided by other sources), must also be based on the Java language. These other Web services can use other operating systems and languages, but the Web service itself must be based on the Java language.

For a Java application to act as Web service client, a mapping between the WSDL file and the Java application must exist. The mapping is defined by the Java API for XML-based RPC (JAX-RPC) specification. Use a Java component to implement a Web service by specifying the component's interface and binding information in the WSDL file and designing the appserver infrastructure to accept the service request. This entire process encompassed is based on the Web Services for J2EE specification.

Using Web Services for J2EE in WAS is based on J2EE 1.3. The same standards are included in J2EE 1.4.

To review the entire Web Services for J2EE specification, see Web services: Resources for learning.

 

See Also

Java API for XML-based remote procedure call (JAX-RPC)
Web services: Resources for learning