Skip to Content
RESTful Java Web Services - Third Edition
book

RESTful Java Web Services - Third Edition

by Balachandar Bogunuva Mohanram
November 2017
Intermediate to advanced
420 pages
10h 29m
English
Packt Publishing
Content preview from RESTful Java Web Services - Third Edition

What is the Jersey model processor and how it works?

When you deploy a JAX-RS application into a Jersey-based container, the Jersey runtime generates the org.glassfish.jersey.server.mode.ResourceModel instance to store all the root REST resources registered in the application. Jersey allows you to enhance the generated resource model via the org.glassfish.jersey.server.model.ModelProcessor providers. You can build your own model processor providers by implementing the ModelProcessor interface. This implementation can have the logic to enhance the current resource model by adding additional methods or resources. For instance, you can build a model processor to inject support for the HTTP OPTION method on every REST resource during deployment. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

RESTful Java Web Services, Second Edition

RESTful Java Web Services, Second Edition

Jobinesh Purushothaman
Java Web Services

Java Web Services

David A Chappell, Tyler Jewell

Publisher Resources

ISBN: 9781788294041Supplemental Content