Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Java EE: RESTful Service with JAX-RS 2.0

via LinkedIn Learning

Overview

Learn how to develop a simple RESTful web service and REST client with the Java EE JAX-RS 2.0 API.

Syllabus

Introduction
  • Welcome
  • What you should know
  • How to use the exercise files
  • Challenges
1. JAX-RS 2.0
  • JAX-RS 2.0 introduction
  • REST introduction
  • Headline features of JAX-RS 2.0
2. Introduction to Bookshop Application
  • Bookshop application demo
  • Deployment demo
3. Create a REST Resource
  • Define the REST contract
  • Inheritance or XML configuration
  • Define the API root
  • Create the resource entity
  • Create the resource methods
  • Path parameters
  • Add path paramaters
  • @Consumes and @Produces
  • Add the media types
  • Challenge: Add resource methods
  • Solution: Add resource methods
4. Responses and HATEOAS
  • The HTTP response
  • Build a response
  • How to handle errors
  • Implement an exception manager
  • Work with HATEOAS
  • HATEOAS and JAX-RS
  • Add HATEOAS to the resource
  • Challenge: Add exception handlers
  • Solution: Add exception handlers
5. Bean Validation API
  • Bean Validation introduction
  • Work with Bean Validation
  • Manage validation failures
  • Implement validation failure management
  • Challenge: Add validation annotations
  • Solution: Add validation annotations
6. Create a REST Client
  • Make a request
  • Implement a client
  • Process the response with JSONP
  • Use JSONP
  • HATEOAS and the frontend
  • Implement HATEOAS
Conclusion
  • Next steps

Taught by

Alex Theedom

Reviews

4.4 rating at LinkedIn Learning based on 33 ratings

Start your review of Java EE: RESTful Service with JAX-RS 2.0

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.