Description
This training will allow you to complete your REST knowledge and develop complete RESTful solutions in Java with JAX-RS. The course notably presents the WADL, JSON and OAuth specification.
Who is this training for ?
For whom ?Developers, project managers.
Prerequisites
Training objectives
Training program
- Reminders on REST and JAX-RS
- Reminders on the concepts of Representational State Transfer and RESTful architecture.
- Reminders on the JAX-RS API.
- Reminders on XML and JAXB.
- Practical work Installation of Jersey, development of a resource class.
- Development of a complete service.
- Invoking a RESTful service in Java
- Use the basic Java API to retrieve a resource.
- Use the Jersey Client API to invoke a RESTful service.
- Jakarta Commons HTTP Client.
- Practical work Invocation of RESTful services using various methods in Java.
- Description of a REST service with WADL or WSDL
- Overview of the Web Application Description Language (WADL) specification.
- Positioning relative to WSDL 2.
- 0, usable with REST services.
- Practical work Analysis of a WADL description of RESTful services.
- Using the wadl2java tool.
- JavaScript Object Notation
- Interest of JSON streams in RESTful architectures.
- Manipulation of JSON data in Java.
- Practical work Development of a RESTful service returning a stream JSON.
- Invoking the service and parsing the result in Java.
- Securing a REST service
- Reminders of the action possibilities at the HTTP transport level.
- Presentation of the OAuth protocol allowing authentication on the Internet, used by Google, Flickr, Yahoo.
- Update implemented with JAX-RS.
- Practical work Securing REST services with OpenAM, OAuth and JAX-RS.
- Architectural elements
- The different possibilities for using REST in an open architecture.