Modifying JAX-RS resources during deployment using ModelProcessor

Sometimes, you may want to modify the existing JAX-RS resources during deployment to meet the specific business conditions set by customers. For instance, consider a scenario where you want to add additional APIs to return the JSON schema, which describes the content structure for all the REST resources that your application exposes. Furthermore, there may be scenarios where you may want to change the entire resource method implementation itself to meet the requirements of some of the customers. In this section, you will learn how to address such use case requirements with the Jersey framework.

The Jersey framework allows you to modify or enhance the JAX-RS resources during deployment by registering your own JAX-RS resource model processor providers. Let's take a closer look at this feature.

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

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