Book Image

RESTful Java Web Services, Second Edition

Book Image

RESTful Java Web Services, Second Edition

Overview of this book

Table of Contents (17 chapters)
RESTful Java Web Services Second Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Introducing the Jersey Framework Extensions

In the last two chapters, we discussed standard JAX-RS APIs for building RESTful Web APIs. JAX-RS is a specification for RESTful web services with Java, and not a product. We have been using Jersey for running the JAX-RS samples that we built in the previous chapters. As you may know, Jersey is one of the many reference implementations available in the market today for the JAX-RS specification. In reality, the Jersey framework is more than a just JAX-RS reference implementation. It offers additional features and utilities to further simplify RESTful services and client development.

In this chapter, we will discuss some of the very useful Jersey framework extension APIs which are not part of the JAX-RS standard.

We will cover the following topics in this chapter:

  • Specifying dependencies for Jersey

  • Programmatically configuring JAX-RS resources during deployment

  • Modifying JAX-RS resources during deployment using ModelProcessor

  • Building HATEOAS...