Table of Contents

Java - J2EE - Web Services Implementation

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.

How to create a Web Service

Methods

Web services can be created using two methods:

Bottom-Up

Java - Java Web Service (JWS) (Annotation Method)

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?

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:

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.

Tools

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

Or the following framework:

Documentation / Reference