Java EE 8 Application Development: Develop Enterprise applications using the latest versions of CDI, JAX-RS, JSON-B, JPA, Security, and more

David R. Heffelfinger

相關主題

商品描述

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

Key Features

  • This book covers all of the major Java EE 8 APIs and includes new additions such as enhanced Security, JSON-B Processing, and more
  • Learn additional Java EE APIs, such as the Java API for Websocket and the Java Message Service (JMS)
  • Develop applications by taking advantage of the latest versions of CDI, Security, Servlets, and JSF and other Java EE specifications

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.

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

Who This Book Is For

If you are a Java developer who wants to become proficient with Java EE 8, this book is ideal for you. You are expected to have some experience with Java and to have developed and deployed applications in the past, but you don't need any previous knowledge of Java EE.

Table of Contents

  1. Introduction to Java EE
  2. JavaServer Faces
  3. Object Relational Mapping with JPA
  4. Enterprise JavaBeans
  5. Contexts and Dependency Injection
  6. JSON Processing with JSON-B and JSON-P
  7. Websockets
  8. The Java Message Service
  9. Securing Java EE Applications
  10. RESTful Web Services with JAX-RS
  11. MicroServices Development with Java EE
  12. SOAP web services with JAX-WS
  13. Servlet development and deployment
  14. Appendix

商品描述(中文翻譯)

開發符合最新版 Java EE 規範的企業級 Java 應用程式

主要特點:
- 本書涵蓋所有主要的 Java EE 8 API,並包括增強的安全性、JSON-B 處理等新功能
- 學習其他 Java EE API,如 Java API for Websocket 和 Java Message Service (JMS)
- 利用最新版本的 CDI、安全性、Servlet 和 JSF 等 Java EE 規範開發應用程式

書籍描述:
Java EE 是一個企業級 Java 標準。符合 Java EE 規範的應用程式不會限制開發者使用特定的供應商,而是可以部署到任何符合 Java EE 規範的應用程式伺服器。這本書提供了您在 Java EE 8 中建立強大且可擴展的應用程式所需的所有工具和技術。本書涵蓋了所有主要的 Java EE 8 API,包括 JSF 2.3、Enterprise JavaBeans (EJB) 3.2、Contexts and Dependency Injection (CDI) 2.0、Java API for WebSockets、JAX-RS 2.1、Servlet 4.0 等。

本書首先介紹 Java EE 8 應用程式開發,然後涵蓋了所有主要的 Java EE 8 API。它不僅介紹了基礎知識,還開發了可以部署到任何符合 Java EE 8 規範的應用程式伺服器的 Java EE 應用程式。

本書還介紹了高級主題,如 JSON-P 和 JSON-B,這是用於處理 JSON 數據的 Java API。這些主題深入探討了兩個 API(模型 API 和流 API)如何用於處理 JSON 數據。

接下來,我們涵蓋了其他 Java EE API,如 Java API for Websocket 和 Java Message Service (JMS),它允許鬆散耦合的異步通信。此外,您還將了解如何利用新的 Java EE 安全性 API 保護 Java EE 應用程式。

最後,您將學習更多關於使用最新的 JAX-RS 2.1 規範開發 RESTful Web 服務的知識。您還將了解在 Java EE 中開發雲端就緒的微服務的技巧。

您將學到什麼:
- 開發和部署 Java EE 應用程式
- 掌握最新的 Contexts and Dependency Injection (CDI) 規範以開發 Java EE 應用程式
- 利用最新版本的 JavaServer Faces (JSF) 2.3 開發基於網頁的應用程式
- 了解使用 JSON-P 和新的 JSON-B Java EE API 處理 JSON 數據的步驟
- 使用新的 JAX-RS 2.1 API 實現 RESTful Web 服務,該 API 還支援 Server-Sent Events (SSE) 和新的反應式客戶端 API

本書適合對 Java EE 8 想要精通的 Java 開發者。您需要具備一些 Java 經驗並且之前開發和部署過應用程式,但不需要有任何 Java EE 的先備知識。

目錄:
1. Java EE 簡介
2. JavaServer Faces
3. 使用 JPA 進行物件關聯映射
4. Enterprise JavaBeans
5. Contexts and Dependency Injection
6. 使用 JSON-B 和 JSON-P 進行 JSON 處理
7. Websockets
8. Java Message Service
9. 保護 Java EE 應用程式
10. 使用 JAX-RS 開發 RESTful Web 服務
11. 在 Java EE 中開發微服務
12. 使用 JAX-WS 開發 SOAP Web 服務
13. Servlet 開發和部署
14. 附錄