Subscribe to Newsletter

Print

RESTful Web Services Training Course


(This course is offered only on-demand to a private batch and can be customized as per the business requirements)

Overview

Restful Web Services with JAX-RS class teaches participants how to design and develop web services using the RESTful architecture and Java EE 6.

Objectives

At the end of RESTful Web Services Training course, participants will be able to:

  • Design RESTful services
  • Build JAX-RS services
  • Understand JAX-RS injection
  • Configure HTTP content negotiation
  • Scale JAX-RS applications
  • Build RESTful clients
  • Compare/contrast JAX-RS implementations

Audience - Developers & Programmers.

Duration - 3 Days

Prerequisites - All attendees must be experienced Java developers with a solid, hands-on grasp of object-oriented principles. Prior Java EE development experience is recommended but not required.

Syllabus

1. Introduction to REST
  • REST and the Rebirth of HTTP
  • RESTful Architectural Principles
2. Designing RESTful Services
  • The Object Model
  • Model the URIs
  • Defining the Data Format
  • Assigning HTTP Methods
3. Your First JAX-RS Service
  • Developing a JAX-RS RESTful Service
  • Deploying Our Service
4. HTTP Method and URI Matching
  • Binding HTTP Methods
  • @Path
  • Subresource Locators
5. JAX-RS Injection
  • The Basics
  • @PathParam
  • @MatrixParam
  • @QueryParam
  • @FormParam
  • @HeaderParam
  • @CookieParam
  • Common Functionality
6. JAX-RS Content Handlers
  • Built-in Content Marshalling
  • JAXB
  • Custom Marshalling
7. Response Codes, Complex Responses, and Exception Handling
  • Default Response Codes
  • Complex Responses
  • Exception Handling
8. HTTP Content Negotiation
  • Conneg Explained
  • Language Negotiation
  • Encoding Negotiation
  • JAX-RS and Conneg
  • Leveraging Content Negotiation
9. HATEOAS
  • HATEOAS and Web Services
  • HATEOAS and JAX-RS
10. Scaling JAX-RS Applications
  • Caching
  • Concurrency
11. Deployment and Integration
  • Deployment
  • Configuration
  • EJB Integration
  • Spring Integration
12. Securing JAX-RS
  • Authentication
  • Authorization
  • Authentication and Authorization in JAX-RS
13. RESTful Java Clients
  • java.net.URL
  • Apache HttpClient
  • RESTEasy Client Framework
  • RESTEasy Client Proxies
14. JAX-RS Implementations
  • Jersey
  • Apache CXF
  • JBoss RESTEasy