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.
Web services can be created using two methods:
Java - Java Web Service (JWS) (Annotation Method)
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?
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.
The following Oracle IDE tools are available to build Web services:
Or the following framework: