Microservice is an architectural style for implementing a single application as a suite of small services. Each service can be deployed and managed separately. This is an emerging software architectural style adopted by many enterprises today in order to meet the rapidly evolving business needs. To follow this pattern for your JAX-RS application, you may want to break down the top-level monolithic JAX-RS resources into separate modules, where each module contains the logically related JAX-RS resource classes. Each module is deployed as a self-contained WAR file. Services communicate with each other via synchronous protocols such as REST over HTTP or asynchronous protocols such as messaging queue. If the performance is really a concern, you can consider using binary protocols, such as Thrift or Avro, for enabling the communication between services. The following diagram demonstrates how you can breakdown the human resource services...
RESTful Java Web Services, Second Edition
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
Free Chapter
Introducing the REST Architectural Style
Java APIs for JSON Processing
Introducing the JAX-RS API
Advanced Features in the JAX-RS API
Introducing the Jersey Framework Extensions
Securing RESTful Web Services
The Description and Discovery of RESTful Web Services
RESTful API Design Guidelines
Useful Features and Techniques
Index
Customer Reviews