Book Image

Learning Java EE 8 [Video]

By : Sebastian Daschner, Dmitry Kornilov
Book Image

Learning Java EE 8 [Video]

By: Sebastian Daschner, Dmitry Kornilov

Overview of this book

Java EE provides a standard set of specifications that can be used to develop standardized applications, independent of the vendor. Enterprise applications do not change that often, and hence we need a robust platform such as Java EE to ensure sustainability. Thus, this comprehensive course—covering all the features and APIs in Java EE—will be helpful for developers. It also answers questions related to how Java EE compares to the Java language, should developers transition to it, and what types of application would benefit from it. Both small businesses and large enterprises have benefitted from the various APIs provided by the Java EE platform to build dynamic web apps. This therefore remains one of the key skills sought by hiring companies. This course starts by exploring the core JAVA EE components. Moving further you will learn all about HTTP endpoints. You will learn how to map domain entities with JPA. Cross-cutting concerns will be covered exhaustively. This course teaches you how to deal with Asynchronous behavior. You will learn to access external systems. You will also learn about the asynchronous communication protocol. By the end of the course, you will be able to develop a car management enterprise application.
Table of Contents (7 chapters)
Chapter 7
Asynchronous communication protocols
Content Locked
Section 1
Implementing SSE resources with JAX-RS
This video shows how to use the JAX-RS API to define and implement Server-Sent Events (SSE) resources. It covers the required JAX-RS types and APIs. - Define SSE JAX-RS resource methods using the SSE Java types - Use the Sse, SseBroadcaster and SseEventSink types to send SSE messages to connected clients - Manually resend events using the last event ID, if required