Session Details
Session ID: TS-4875
Session Title: Developing RESTful Web Services with the Java™ API for RESTful Web Services (JAX-RS)
Session Abstract: The Java™ API for RESTful Web Services (JAX-RS) is an annotation-driven API that makes it easy to build Java technology-based RESTful Web services that adhere to the REST architectural style.

This detailed overview of JAX-RS, now an approved final JSR, is designed to appeal to novice and expert Java technology developers who want to understand more about this API and how to build RESTful applications. At the end of the session, developers will have a better understanding of how to build their own RESTful Web services using JAX-RS. This session forgoes a detailed introduction to REST to ensure that more time is spent presenting and demonstrating the API.

It examines the following areas in detail, and, where appropriate, includes live coding demonstrations:

• Mapping URLs to Java class files and methods
• Handling HTTP requests for common HTTP methods
• Obtaining parameters from the HTTP request
• Using MIME media types and mapping representations to MIME media types and Java programming language types
• Returning representations and HTTP metadata
• Injecting useful helper classes, general injection rules
• Support in Java Platform, Enterprise Edition 6 (Java EE 6 platform) with Enterprise JavaBeans™ (EJB™) technology

It also covers the following areas in less detail:

* Building of URIs
* Mapping of Java programming language exceptions to HTTP responses
* Security with servlet-based security
Track: Core Technology: Java EE; Jave EE Scheduling Track; Services: Web 2.0, Next Generation Web, and Cloud Services Platform
Duration: 60
Speaker(s): Marc Hadley, Sun Microsystems, Inc.; Paul Sandoz, Sun Microsystems, Inc.