Building RESTful web services with Java EE 8 create modern RESTful Web Services with the Java EE 8 API
Learn the fundamentals of Java EE 8 APIs to build effective web services Key Features Design modern and stylish web services with Java EE APIs Secure your web services with JSON Web Tokens Explore the advanced concepts of RESTful web services and the JAX-RS API Book Description Java Enterprise Editi...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham ; Mumbai :
Packt
2018.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630758006719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Table of Contents
- Preface
- Chapter 1: 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
- Chapter 2: 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
- Summary
- Chapter 3: 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
- Summary
- Chapter 4: 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
- Summary
- Chapter 5: Using Server-Sent Events (SSEs)
- What are SSEs?
- Implementing SSE on the server-side
- Implementing SSE REST clients
- Implementing and sending SSE broadcasts
- Summary
- Chapter 6: Advanced REST APIs
- Applying Design by Contract - adding validation
- Using JSON Web Tokens for authentication
- Diagnosability - logging, metrics, and tracing
- Summary
- Other Books You May Enjoy
- Index.