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 6
Accessing external systems
Content Locked
Section 1
Accessing HTTP using JAX-RS
This video shows how to access HTTP resources using the JAX-RS client. It covers how web targets are defined and used to send requests and read responses from and to Java types, respectively. - Create an instance of the JAX-RS client using the ClientBuilder functionality - Define a WebTarget that accesses the HTTP resources - Use the invocation builder functionality to invoke targets and read responses