Toutes nos formations sont désormais disponibles en "Live Virtual classes". Contactez-nous pour plus d’informations : formation@oxiane.luToutes nos formations sont désormais disponibles en "Live Virtual classes". Contactez-nous pour plus d’informations : formation@oxiane.lu

Implementing REST light services Architecture with Jax-RS

Accueil » Formations » Java » Implementing REST light services Architecture with Jax-RS

REST (Representational State Transfer) is a simplified SOA style to implement and consume web services while benefiting from all the advantages of the Internet: scalability, caching, etc.
This training will allow you to understand REST and to develop "RESTful" solutions in Java, using the Java EE 6 JAX-RS specification (JSR311).

1850 € HT 3 jours AE-JRES

Implementing a lightweight REST service architecture with Jax-RS

Programme

Introduction

  • REST services
  • Overview of REST
  • An architectural style
  • Constraints of a RESTful system
  • Richardson’s maturity model
  • SOAP/REST comparison

HTTP reminders

  • URIs
  • Structure of a request
  • HTTP method
  • HTTP header
  • Structure of a response
  • HTTP response status
  • Safe request
  • Idempotent request
  • Stateless vs. Stateful
  • HTTP security

JAX-RS

  • Implementations
  • Basic concepts: resource
  • Setting up a service
  • Deploying a service

Jersey

  • Deployment in different environments
  • Creating a project

JAX-RS annotations

  • Usual annotations
  • Annotations to extract data
  • Injection model
  • Type conversion
  • Validation

Content management

  • Conneg
  • @Produces and @Consumes
  • Quality factor q
  • Input parameter
  • Return type
  • Entity provider
  • ResponseBuilder
  • Uri and UriBuilder
  • Link and Link headers
  • Exception handling

Resource representation

  • Data format

XML support

  • XML
  • JAX-B
  • JAX-B and REST

JavaScript Object Notation

  • Overview of JSON

Advanced use of JAX-RS

  • Filters
  • Interceptors
  • Dynamic binding
  • Name Binding
  • Order of filters and interceptors
  • Asynchronous API

Integration with EJBs

RESTful Java client

  • Consuming REST services
  • Jersey Client
  • Client API of JAX-RS
  • Advanced Client Features

Security with JAX-RS

  • Service Security with Java EE
  • Service Security with JWT
  • CORS

Documentation of an API

  • WADL, RAML, Blue Print
  • Swagger

Testing REST services

  • With cURL
  • With PostMan
  • With RestAssured
  • With SOAP-UI

Conclusion

This site is registered on wpml.org as a development site.