Cargando…

Building RESTful Web Services with Java EE 8 : Create Modern RESTful Web Services with the Java EE 8 API.

This comprehensive guide shows you how to use the APIs provided by Java EE to create RESTful web services. You will learn how to use the different JAX-RS APIs in depth. You wil delve into the structure of web services and communicate and share data between applications. Throughout this course, you w...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Reimer, Mario-Leander
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing Ltd, 2018.
Temas:
Acceso en línea:Texto completo
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 servicesJersey 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.
  • CompletableFutureImplementing 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.