更新时间:2021-07-23 16:57:24
封面
Title Page
Copyright and Credits
Building RESTful Web Services with Java EE 8
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
Getting Started with Java EE 8
Technical requirements
Why is Java EE a good platform for microservices?
Java EE version history
Overview of Java EE 8
What's new in Java EE 8?
Getting started with Java EE 8 microservices
Containerizing Java EE 8 microservices
Summary
Building Synchronous Web Services and Clients
Implementing basic REST APIs with JAX-RS
Using sub-resources
Error handling in JAX-RS
Implementing web service clients with Java EE 8
Testing Java EE 8 web services
Jersey Test Framework
Test Containers
Content Marshalling with JSON-B and JSON-P
Introduction to content types and content negotiation
Easy data binding using JSON-B
Flexible JSON processing with JSON-P
Implementing hypermedia-driven REST APIs
Building Asynchronous Web Services
Benefits and usage scenarios of asynchronous processing
Basic idea
Goal
Implementing asynchronous web services
Using ManagedExecutorService and server-side callbacks
CompletionCallback
ConnectionCallback
Registering callbacks
CompletableFuture
Implementing asynchronous web service clients
Using Server-Sent Events (SSEs)
What are SSEs?
Implementing SSE on the server-side
Implementing SSE REST clients
Implementing and sending SSE broadcasts
Advanced REST APIs
Applying Design by Contract – adding validation
Using JSON Web Tokens for authentication
Diagnosability – logging metrics and tracing
Other Books You May Enjoy
Leave a review - let other readers know what you think