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

Understanding the Jersey server-side configuration properties


Each application is different and must be tuned separately. Things that work for one application do not necessarily work for another. Keeping this point in mind, Jersey offers various server-side configuration properties to optimize the runtime performance of RESTful web services. The following table lists some of the core properties that you may find useful while tuning RESTful web APIs.

Tip

To view the complete list of configuration properties offered by Jersey, visit the following Appendix page in Jersey User Guide: https://jersey.java.net/documentation/latest/appendix-properties.html

Here are a few major configuration properties with a detailed explanation for each:

Configuration Property

Description

jersey.config.server.subresource.cache.size

This property takes an integer value that defines the cache size for subresource locator models. The default value is 64. Caching of subresource locator models is useful for avoiding...