Java EE 8 Application Development

Develop Enterprise Java applications compliant with the latest version of the Java EE specification
Preview in Mapt

Java EE 8 Application Development

David R. Heffelfinger

4 customer reviews
Develop Enterprise Java applications compliant with the latest version of the Java EE specification

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$20.00
RRP $39.99
Save 49%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$20.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Java EE 8 Application Development Book Cover
Java EE 8 Application Development
$ 39.99
$ 20.00
Architecting Modern Java EE Applications Book Cover
Architecting Modern Java EE Applications
$ 39.99
$ 20.00
Buy 2 for $35.00
Save $44.98
Add to Cart

Book Details

ISBN 139781788293679
Paperback372 pages

Book Description

Java EE is an Enterprise Java standard. Applications written to comply with the Java EE specification do not tie developers to a specific vendor; instead they can be deployed to any Java EE compliant application server. With this book, you’ll get all the tools and techniques you need to build robust and scalable applications in Java EE 8. This book covers all the major Java EE 8 APIs including JSF 2.3, Enterprise JavaBeans (EJB) 3.2, Contexts and Dependency Injection (CDI) 2.0, the Java API for WebSockets, JAX-RS 2.1, Servlet 4.0, and more.

The book begins by introducing you to Java EE 8 application development and goes on to cover all the major Java EE 8 APIs. It goes beyond the basics to develop Java EE applications that can be deployed to any Java EE 8 compliant application server.

It also introduces advanced topics such as JSON-P and JSON-B, the Java APIs for JSON processing, and the Java API for JSON binding. These topics dive deep, explaining how the two APIs (the Model API and the Streaming API) are used to process JSON data.

Moving on, we cover additional Java EE APIs, such as the Java API for Websocket and the Java Message Service (JMS), which allows loosely coupled, asynchronous communication. Further on, you’ll discover ways to secure Java EE applications by taking advantage of the new Java EE Security API.

Finally, you’ll learn more about the RESTful web service development using the latest JAX-RS 2.1 specification. You’ll also get to know techniques to develop cloud-ready microservices in Java EE.

Table of Contents

Chapter 1: Introduction to Java EE
Introduction to Java EE
One standard, multiple implementations
Java EE, J2EE, and the Spring framework
Summary
Chapter 2: JavaServer Faces
Introducing JSF
Developing our first JSF application
Custom data validation
Customizing JSF's default messages
Ajax-enabling JSF applications
JSF HTML5 support
JSF 2.2 Faces flows
Injecting JSF artifacts
JSF WebSocket support
Additional JSF component libraries
Summary
Chapter 3: Object Relational Mapping with the Java Persistence API
The Customer database
The Java Persistence API
Final notes
Summary
Chapter 4: Enterprise JavaBeans
Session beans
Asynchronous method calls
Message-driven beans
Transactions in enterprise JavaBeans
Enterprise JavaBean life cycles
EJB timer service
EJB security
Summary
Chapter 5: Contexts and Dependency Injection
Named beans
Dependency injection
Qualifiers
Named bean scopes
CDI events
Summary
Chapter 6: JSON Processing with JSON-P and JSON-B
The JSON-P Model API
The JSON-P Streaming API
JSON pointer
JSON Patch
Populating Java objects from JSON with JSON-B
Generating JSON strings from Java objects with JSON-B
Summary
Chapter 7: WebSocket
Developing a WebSocket server endpoint
Developing WebSocket clients
Additional information about the Java API for WebSocket
Summary
Chapter 8: Java Messaging Service
Message queues
Message topics
Summary
Chapter 9: Securing Java EE Applications
Identity stores
Authentication mechanisms
Summary
Chapter 10: RESTful Web Services with JAX-RS
An introduction to RESTful web services and JAX-RS
Developing a simple RESTful web service
Developing a RESTful web service client
Query and path parameters
Server-sent events
Summary
Chapter 11: Microservices Development with Java EE
Introduction to microservices
Microservices and Java EE
Developing microservices using Java EE
Summary
Chapter 12: Web Services with JAX-WS
Developing web services with JAX-WS
Exposing EJBs as web services
Summary
Chapter 13: Servlet Development and Deployment
What is a servlet?
Request forwarding and response redirection
Persisting application data across requests
Passing initialization parameters to a servlet via annotations
Servlet filters
Servlet listeners
Pluggability
Configuring web applications programmatically
Asynchronous processing
HTTP/2 server push support
Summary
Chapter 14: Configuring and Deploying to GlassFish
Obtaining GlassFish
Installing GlassFish
Starting GlassFish
GlassFish domains
Setting up database connectivity
Setting JMS resources
Summary

What You Will Learn

  • Develop and deploy Java EE applications
  • Embrace the latest additions to the Contexts and Dependency Injection (CDI) specification to develop Java EE applications
  • Develop web-based applications by utilizing the latest version of JavaServer Faces, JSF 2.3.
  • Understand the steps needed to process JSON data with JSON-P and the new JSON-B Java EE API
  • Implement RESTful web services using the new JAX-RS 2.1 API, which also includes support for Server-Sent Events (SSE) and the new reactive client API

Authors

Table of Contents

Chapter 1: Introduction to Java EE
Introduction to Java EE
One standard, multiple implementations
Java EE, J2EE, and the Spring framework
Summary
Chapter 2: JavaServer Faces
Introducing JSF
Developing our first JSF application
Custom data validation
Customizing JSF's default messages
Ajax-enabling JSF applications
JSF HTML5 support
JSF 2.2 Faces flows
Injecting JSF artifacts
JSF WebSocket support
Additional JSF component libraries
Summary
Chapter 3: Object Relational Mapping with the Java Persistence API
The Customer database
The Java Persistence API
Final notes
Summary
Chapter 4: Enterprise JavaBeans
Session beans
Asynchronous method calls
Message-driven beans
Transactions in enterprise JavaBeans
Enterprise JavaBean life cycles
EJB timer service
EJB security
Summary
Chapter 5: Contexts and Dependency Injection
Named beans
Dependency injection
Qualifiers
Named bean scopes
CDI events
Summary
Chapter 6: JSON Processing with JSON-P and JSON-B
The JSON-P Model API
The JSON-P Streaming API
JSON pointer
JSON Patch
Populating Java objects from JSON with JSON-B
Generating JSON strings from Java objects with JSON-B
Summary
Chapter 7: WebSocket
Developing a WebSocket server endpoint
Developing WebSocket clients
Additional information about the Java API for WebSocket
Summary
Chapter 8: Java Messaging Service
Message queues
Message topics
Summary
Chapter 9: Securing Java EE Applications
Identity stores
Authentication mechanisms
Summary
Chapter 10: RESTful Web Services with JAX-RS
An introduction to RESTful web services and JAX-RS
Developing a simple RESTful web service
Developing a RESTful web service client
Query and path parameters
Server-sent events
Summary
Chapter 11: Microservices Development with Java EE
Introduction to microservices
Microservices and Java EE
Developing microservices using Java EE
Summary
Chapter 12: Web Services with JAX-WS
Developing web services with JAX-WS
Exposing EJBs as web services
Summary
Chapter 13: Servlet Development and Deployment
What is a servlet?
Request forwarding and response redirection
Persisting application data across requests
Passing initialization parameters to a servlet via annotations
Servlet filters
Servlet listeners
Pluggability
Configuring web applications programmatically
Asynchronous processing
HTTP/2 server push support
Summary
Chapter 14: Configuring and Deploying to GlassFish
Obtaining GlassFish
Installing GlassFish
Starting GlassFish
GlassFish domains
Setting up database connectivity
Setting JMS resources
Summary

Book Details

ISBN 139781788293679
Paperback372 pages
Read More
From 4 reviews

Read More Reviews

Recommended for You

Architecting Modern Java EE Applications Book Cover
Architecting Modern Java EE Applications
$ 39.99
$ 20.00
Java EE 8 Microservices Book Cover
Java EE 8 Microservices
$ 39.99
$ 20.00
Java EE 8 High Performance Book Cover
Java EE 8 High Performance
$ 39.99
$ 20.00
Understanding Software Book Cover
Understanding Software
$ 23.99
$ 12.00
Developing Middleware in Java EE 8 Book Cover
Developing Middleware in Java EE 8
$ 39.99
$ 20.00
Learning Java EE 8 [Video] Book Cover
Learning Java EE 8 [Video]
$ 124.99
$ 25.00