EJB 3 in Action, 2/e (Paperback)

Debu Panda, Reza Rahman, Ryan Cuprak, Michael Remijan

  • 出版商: Manning
  • 出版日期: 2014-04-18
  • 定價: $1,820
  • 售價: 9.5$1,729
  • 語言: 英文
  • 頁數: 560
  • 裝訂: Paperback
  • ISBN: 1935182994
  • ISBN-13: 9781935182993
  • 相關分類: Java 程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

Summary

Building on the bestselling first edition, EJB 3 in Action, Second Edition tackles EJB 3.2 head-on, through numerous code samples, real-life scenarios, and illustrations. This book is a fast-paced tutorial for Java EE 6 business component development using EJB 3.2, JPA 2, and CDI. Besides covering the basics of EJB 3.2, this book includes in-depth EJB 3.2 internal implementation details, best practices, design patterns, and performance tuning tips.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Book

The EJB 3 framework provides a standard way to capture business logic in manageable server-side modules, making it easier to write, maintain, and extend Java EE applications. EJB 3.2 provides more enhancements and intelligent defaults and integrates more fully with other Java technologies, such as CDI, to make development even easier.

EJB 3 in Action, Second Edition is a fast-paced tutorial for Java EE business component developers using EJB 3.2, JPA, and CDI. It tackles EJB head-on through numerous code samples, real-life scenarios, and illustrations. Beyond the basics, this book includes internal implementation details, best practices, design patterns, performance tuning tips, and various means of access including Web Services, REST Services, and WebSockets.

Readers need to know Java. No prior experience with EJB or Java EE is assumed.

What's Inside

  • Fully revised for EJB 3.2
  • POJO persistence with JPA 2.1
  • Dependency injection and bean management with CDI 1.1
  • Interactive application with WebSocket 1.0

About the Authors

Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan are seasoned Java architects, developers, authors, and community leaders. Debu and Reza coauthored the first edition of EJB 3 in Action.

Table of Contents

    PART 1 OVERVIEW OF THE EJB LANDSCAPE
  1. What's what in EJB 3
  2. A first taste of EJB
  3. PART 2 WORKING WITH EJB COMPONENTS
  4. Building business logic with session beans
  5. Messaging and developing MDBs
  6. EJB runtime context, dependency injection, and crosscutting logic
  7. Transactions and security
  8. Scheduling and timers
  9. Exposing EJBs as web services
  10. PART 3 USING EJB WITH JPA AND CDI
  11. JPA entities
  12. Managing entities
  13. JPQL
  14. Using CDI with EJB 3
  15. PART 4 PUTTING EJB INTO ACTION
  16. Packaging EJB 3 applications
  17. Using WebSockets with EJB 3
  18. Testing and EJB

商品描述(中文翻譯)


摘要


在暢銷的第一版基礎上,《EJB 3 in Action, Second Edition》通過大量的代碼示例、實際場景和插圖,全面介紹了EJB 3.2。本書是使用EJB 3.2、JPA 2和CDI進行Java EE 6業務組件開發的快節奏教程。除了介紹EJB 3.2的基礎知識外,本書還包括深入的EJB 3.2內部實現細節、最佳實踐、設計模式和性能調優技巧。


購買印刷版書籍還包括Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。


關於本書


EJB 3框架提供了一種標準的方式來捕獲可管理的服務器端模塊中的業務邏輯,使得編寫、維護和擴展Java EE應用程序更加容易。EJB 3.2提供了更多的增強功能和智能默認值,並與其他Java技術(如CDI)更加完全地集成,使得開發更加簡單。


《EJB 3 in Action, Second Edition》是一本快節奏的教程,針對使用EJB 3.2、JPA和CDI的Java EE業務組件開發人員。本書通過大量的代碼示例、實際場景和插圖全面介紹了EJB。除了基礎知識外,本書還包括內部實現細節、最佳實踐、設計模式、性能調優技巧以及各種訪問方式,包括Web服務、REST服務和WebSockets。


讀者需要了解Java,不需要有EJB或Java EE的先前經驗。


內容簡介



  • 完全修訂的EJB 3.2

  • JPA 2.1的POJO持久化

  • CDI 1.1的依賴注入和Bean管理

  • WebSocket 1.0的互動應用


關於作者


Debu PandaReza RahmanRyan CuprakMichael Remijan是經驗豐富的Java架構師、開發人員、作者和社區領袖。Debu和Reza共同撰寫了《EJB 3 in Action》的第一版。


目錄



    第1部分 EJB領域概述

  1. EJB 3中的重要概念

  2. 初嚐EJB的滋味

  3. 第2部分 使用EJB組件

  4. 使用會話Bean構建業務邏輯

  5. 消息和開發MDB

  6. EJB運行時上下文、依賴注入和橫切邏輯

  7. 事務和安全性

  8. 計劃和定時器

  9. 將EJB公開為Web服務

  10. 第3部分 使用JPA和CDI的EJB

  11. JPA實體

  12. 管理實體

  13. JPQL

  14. 使用CDI與EJB 3

  15. 第4部分 將EJB投入實踐

  16. 打包EJB 3應用程序

  17. 使用EJB 3和WebSockets

  18. 測試和EJB