Book Image

EJB 3 Developer Guide

By : Michael Sikora
Book Image

EJB 3 Developer Guide

By: Michael Sikora

Overview of this book

Table of Contents (18 chapters)
EJB 3 Developer Guide
Credits
About the Author
About the Reviewers
Preface
Annotations and Their Corresponding Packages

Creating a Java Application Web Service


Any Java EE 5 compliant application server implements the Java API for XML-Based Web Services (JAX-WS) 2.0 specification (JSR 224). JAX-WS defines the mapping between Java and WSDL. The actual mapping between Java and XML (recall WSDL is an XML document) is specified by the JAXB 2.0 (Java Architecture for XML Binding) API which any Java EE 5 application server implements. A JAX-WS runtime system converts Java API calls and responses from and to SOAP messages. Furthermore any Java EE 5 compliant server will usually provide tools for both generating WSDL documents from a Java web service implementation class and for generating a Java web service implementation class from a WSDL document. In web services terminology such an implementation class is known as an endpoint implementation class. A Java EE 5 application server may also automatically generate a WSDL document when the Java endpoint implementation class is deployed to the server.

A Java application...