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 2
HTTP endpoints
Content Locked
Section 4
Custom HTTP responses
This video shows how to send custom HTTP responses with JAX-RS. Examples for custom responses are HTTP status codes or header fields. - Use the Response type from JAX-RS to build custom HTTP responses. - Send different status codes if the default statuses don’t match your requirements - Use the UriInfo context object to build URIs that point to your resources