Book Image

Building Web Services with Java EE 8 [Video]

By : Mario-Leander Reimer
Book Image

Building Web Services with Java EE 8 [Video]

By: Mario-Leander Reimer

Overview of this book

<p>The Java Enterprise Edition is one of the leading application programming platforms for enterprise Java development. With Java EE 8 finally released and the first application servers being available, it is time to have a closer look at how to develop modern and lightweight web services with the latest API additions and improvements.</p> <p>This video course is a comprehensive guide showing you how to develop state-of-the-art RESTful web services with the latest Java EE 8 APIs. We start by giving an overview of Java EE 8 and the latest API additions and improvements. Then you will implement, build, and package your first working web service as a prototype for the remainder of the course. Then you will delve into the details of implementing synchronous RESTful web services and clients with JAX-RS. Next up, you will learn about the specifics of data binding and content marshalling using the JSON-B 1.0 and JSON-P 1.1 APIs. Then you will learn how to leverage the power of asynchronous APIs on the server- and client-side, and you will learn to use Server-Sent-Events (SSEs) for push communications. The final section will cover some advanced web service topics such as validation, JWT security, and diagnosability.</p> <p>By the end of this course, you will have a thorough understanding of the Java EE 8 APIs required for lightweight web service development. Also, you will have implemented several working web services to provide you with the required practical experience.</p> <h1>Style and Approach</h1> <p>This course on using the latest Java EE 8 APIs is packed with step-by-step instructions and examples that are directly applicable in practice. The different sections of this course will focus on important topics when developing web services with Java EE 8.</p>
Table of Contents (6 chapters)
Chapter 3
Content Marshalling with JSON-B and JSON-P
Content Locked
Section 2
Easy Data Binding Using JSON-B
JSON-B is the new API to marshall and unmarshall POJOs to and from JSON. This video will show how to use the API implicitly in your REST resources, customize the marshalling behavior using annotations and also how to use JSON-B programmatically. - Implicit JSON marshalling and unmarshalling in REST resources - Look at custom JSON marshalling using JSON-B annotations - Explicit usage of JsonbConfig and Jsonb instance using JsonbBuilder