Java - J2EE - Web Services Implementation

> Procedural Languages > Java

1 - About

Java Web services are implemented according to the JSR 109: Implementing Enterprise Web Services specification, which defines the standard Java EE runtime architecture for implementing Web services in Java (JWS).

The JSR 109 describes that a Java EE Web service is implemented by one of the following components:

The code in the Java class or EJB implements the business logic of your Web service.


3 - How to create a Web Service

3.1 - Methods

Web services can be created using two methods:

3.1.1 - Bottom-Up

4 - Java API

Standards-based Java API for coding, assembling, and deploying Java Web services:

JAX-WS is a follow up to JAX-RPC (an older specification) How Do I Choose Between JAX-WS and JAX-RPC?

5 - Security

The WS-Security specification lets you configure advanced features of Web services using WS-Policy files.

A WS-Policy file is an XML file that contains:

  • security-specific
  • or Web service reliable messaging-specific XML elements

that describe the security and reliable-messaging configuration, respectively.

For information about the WS-Policy specification, see Web Services Policy Framework (WS-Policy) 1.5 and 1.2.


6 - Tools

The following Oracle IDE tools are available to build Web services:

Or the following framework:

7 - Documentation / Reference