Advanced Features in the JAX-RS APIs

In the previous chapter, we introduced you to the JAX-RS APIs for building RESTful web services. We also discussed how to build interceptors and filters for a RESTful web service application and their usage in real-life use cases. This chapter is a continuation of what we discussed in the previous chapter. This chapter will take you further into the JAX-RS APIs, and some complex use cases and their solutions.

The following topics are covered in this chapter:

  • Understanding subresources and subresource locators in JAX-RS
  • Dynamic dispatching and request matching
  • Response builder explained
  • Exception handling in JAX-RS
  • Introducing validations in JAX-RS applications
  • Supporting custom request-response message formats
  • Asynchronous RESTful web services
  • Asynchronous RESTful web service client
  • Server-Sent Events
  • Managing the HTTP cache in a RESTful web service
  • Understanding filters and interceptors in JAX-RS
  • Understanding the JAX-RS resource life cycle

Discussions on the JAX-RS framework would not be complete without covering the advanced features offered by the framework for building subresources, validations, exception handling, and extensions for handling various message types. Take a deep breath and get ready for a deep dive into the JAX-RS API.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.77.208