Java EE 7 Developer Handbook
暫譯: Java EE 7 開發者手冊
Peter A. Pilgrim
- 出版商: Packt Publishing
- 出版日期: 2013-07-07
- 售價: $2,390
- 貴賓價: 9.5 折 $2,271
- 語言: 英文
- 頁數: 634
- 裝訂: Paperback
- ISBN: 1849687943
- ISBN-13: 9781849687942
-
相關分類:
Java 程式語言
海外代購書籍(需單獨結帳)
商品描述
Update your knowledge of the Enterprise Java platform through this user-friendly tutorial that's designed around real-life examples. The pragmatic approach means you'll be up to speed almost effortlessly. For intermediate users upwards.
Overview
- Learn about local and remote service endpoints, containers, architecture, synchronous and asynchronous invocations, and remote communications in a concise reference
- Understand the architecture of the Java EE platform and then apply the new Java EE 7 enhancements to benefit your own business-critical applications
- Learn about integration test development on Java EE with Arquillian Framework and the Gradle build system
- Learn about containerless builds featuring the GlassFish 4.0 embedded application server
- Master Java EE 7 with this example-based, up-to-date guide with descriptions and explanations
In Detail
The seventh edition of the Enterprise Java platform is aimed at helping Java engineers take advantage of the advancements in HTML5 and web standards. Web Sockets, asynchronous input and output with Servlets, and strong type safety through the CDI containers will ensure that Java EE 7 remains popular for server-side applications.
If you are a user aiming to get acquainted with the Java EE 7 platform, this book is for you.
"Java EE 7 Handbook" provides a solid foundation of knowledge for developers to build business applications. Following the lead of Agile practices, there is a focus on writing tests to demonstrate test-driven development principles, using the embedded GlassFish 4.0 container examples and the Gradle build system. You will learn about CDI, EJB, JPA, JMS, MDB, Servlets, WebSocket, JAX-RS, Bean Validation, and so much more.
"Java EE 7 Handbook" is designed as a companion to the professional software developer who quickly needs to lookup some working code, understand the basics of the framework, and then go out and fulfill the business contract with the customer. Typically, engineers are under pressure to develop professional code that is of high quality and contains a low number of bugs. Java EE 7 Handbook relies heavily on the Arquillian framework to illustrate how much easier it is to write Java EE tests, and together with the modern practice of writing containerless applications that actually embed an application container, developing agile Java EE suddenly becomes reasonable, smart, pragmatic, and achievable.
What you will learn from this book
- Understand the JSR and the API that are assembled together for Java EE 7
- Write server side and client side WebSocket connection in Java
- Understand the essential differences and similarities between the EJB and CDI containers, as well as dependency injection
- Learn about Gradle builds, embedded containers, and the Arquillian Framework
- Build server side endpoints with EJB in stateless, stateful, and singleton modes
- Write REST server side endpoints on the client and server side
- Write asynchronous Servlet input and output and also annotated Servlet, Context Listeners
- Map entities in Java Persistence with the essential cardinalities including the Java side of many-to-many relationships
- Learn about mapping entities to stored procedures and entity graphs
- Fully understand how to verify your POJO before they hit the database with Bean Validation API
- Be prepared for the Java EE 8 journey and beyond, which may include deployment to the cloud
商品描述(中文翻譯)
更新您對企業 Java 平台的知識,透過這本以實際案例為基礎的使用者友好教程。這種務實的方法意味著您幾乎可以毫不費力地跟上進度。適合中級以上的使用者。
概述
- 簡明扼要地了解本地和遠端服務端點、容器、架構、同步和非同步調用,以及遠端通信
- 理解 Java EE 平台的架構,然後應用新的 Java EE 7 增強功能,以使您的業務關鍵應用受益
- 學習如何使用 Arquillian 框架和 Gradle 建構系統在 Java EE 上開發整合測試
- 學習無容器建構,使用 GlassFish 4.0 嵌入式應用伺服器
- 通過這本基於範例的最新指南,掌握 Java EE 7 的描述和解釋
詳細內容
企業 Java 平台的第七版旨在幫助 Java 工程師利用 HTML5 和網頁標準的進步。Web Sockets、使用 Servlets 的非同步輸入和輸出,以及通過 CDI 容器提供的強類型安全性,將確保 Java EE 7 在伺服器端應用中保持受歡迎。
如果您是一位希望熟悉 Java EE 7 平台的使用者,這本書適合您。
《Java EE 7 手冊》為開發人員提供了建立業務應用的堅實知識基礎。遵循敏捷實踐的指導,重點在於編寫測試以展示測試驅動開發原則,使用嵌入式 GlassFish 4.0 容器範例和 Gradle 建構系統。您將學習到 CDI、EJB、JPA、JMS、MDB、Servlet、WebSocket、JAX-RS、Bean Validation 等等。
《Java EE 7 手冊》旨在成為專業軟體開發人員的伴侶,幫助他們快速查找一些可用的程式碼,理解框架的基本概念,然後去滿足與客戶的業務合約。通常,工程師面臨開發高品質且錯誤率低的專業程式碼的壓力。《Java EE 7 手冊》在很大程度上依賴 Arquillian 框架來說明編寫 Java EE 測試的便利性,並結合現代無容器應用的開發實踐,實際上嵌入應用容器,使得開發敏捷的 Java EE 突然變得合理、聰明、務實且可實現。
您將從這本書中學到什麼
- 理解為 Java EE 7 組裝在一起的 JSR 和 API
- 在 Java 中編寫伺服器端和客戶端的 WebSocket 連接
- 理解 EJB 和 CDI 容器之間的基本差異和相似之處,以及依賴注入
- 學習 Gradle 建構、嵌入式容器和 Arquillian 框架
- 使用 EJB 在無狀態、有狀態和單例模式下構建伺服器端端點
- 在客戶端和伺服器端編寫 REST 伺服器端端點
- 編寫非同步 Servlet 輸入和輸出,以及註解 Servlet 和上下文監聽器
- 在 Java 持久性中映射實體,包含多對多關係的基本基數
- 學習如何將實體映射到存儲過程和實體圖
- 完全理解如何在 POJO 進入資料庫之前使用 Bean Validation API 進行驗證
- 為 Java EE 8 及以後的旅程做好準備,這可能包括部署到雲端