Sun Java Solaris Communities My SDN Account Join SDN
 

JavaOne Online Technical Sessions

Pump Up Your Technical Knowledge
Listen and watch as industry luminaries bring you the latest on Java technologies
Active Tab2009
 
Begin Product Tab Sub Links Active Sub LinkJavaOne Technical Sessions JavaOne Hands-On Labs

Developing RESTful Web Services with the Java API for RESTful Web Services (JAX-RS)
TS-4875


Presenter: Marc Hadley, Sun Microsystems, Inc.; Paul Sandoz, Sun Microsystems, Inc.


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
 
 
FREE White Papers on Java SE, Java EE, cloud computing and database technologies.
New SDN Member Only Offers Every Month Discounts, FREE white papers and more!
Java University and JavaOne Training Sessions