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 5
Asynchronous behavior
Content Locked
Section 3
Managed threads
This video shows what container-managed threads are, what the threading requirements for enterprise applications are and which Java EE functionalities support developers. It covers the required APIs to use container-managed threads. - Acquire and use the ManagedExecutorService to execute functionality within its own thread - Avoid using application-managed threads or functionality that starts own threads, such as parallel streams - Use CompletableFutures with the acquired ManagedExecutorService to implement more complex functionality