(Documentation) Generating a Web service using Web service Metadata Annotations
Documentation : Generating a Web service using Web service Metadata Annotations
Introduction
One of the guiding principles for the next iteration of the Java Enterprise Platform (Java EE 5) is to provide ease-of-use features for the enterprise developer. To that end, the Web Services Metadata for the Java Platform Specification (JCP JSR 181) simplifies the Java Web service programming model by providing a set of annotations that can be used to declaratively specify the Web services of an application. The metadata annotates the Java source files that implement the Web services, eliminating the need to modify and maintain additional service artifacts such as deployment descriptors and JAX-RPC mapping files. Thus, the process of developing and deploying a Web service is greatly simplified.
The Oracle Application Server provides the facilities for developing and deploying annotated Java source files as Web services. This how-to will demonstrate some of the more common annotations, how they are leveraged in the source code, and how these source files are compiled and deployed to the server.
Prerequisites
What you need to know
- Some familiarity with the standard J2EE deployment model.
- Some familiarity with JAX-RPC 1.1
Software Requirements
- OracleAS 10.1.3 is installed, available from OTN
- JDK 5 or above, available here.
- NOTE: The Web service metadata processing in the Java EE platform depends on the Java SE Metadata facility (JCP JSR 175) that is only available starting with Java SE 5.
Courtesy:- Oracle.com
- guru's blog
- Login to post comments
