Enterprise JavaBeans, 4/e (Paperback)
Richard Monson-Haefel, Bill Burke, Sacha Labourey
- 出版商: O'Reilly
- 定價: $1,575
- 售價: 1.9 折 $299
- 語言: 英文
- 頁數: 800
- 裝訂: Paperback
- ISBN: 059600530X
- ISBN-13: 9780596005306
-
相關分類:
Java 程式語言
-
其他版本:
Enterprise JavaBeans 3.1, 6/e (Paperback)
買這商品的人也買了...
-
$680$537 -
$980$774 -
$1,920$1,824 -
$590$466 -
$780$663 -
$580$458 -
$820$804 -
$750$638 -
$560$476 -
$490$417 -
$850$723 -
$480$379 -
$750$593 -
$780$616 -
$780$663 -
$1,920$1,824 -
$590$460 -
$490$382 -
$760$600 -
$450$360 -
$690$587 -
$620$490 -
$540$427 -
$480$408 -
$650$507
相關主題
商品描述
Description:
The new 2.1 version of the Enterprise JavaBeans (EJB) spec extends its
support for web services and the Java Web Services APIs, expands its
asynchronous messaging support, adds XML Schema for deployment descriptors, and
introduces a new Timer service, which allows for scheduling EJB jobs. The
essential--and award winning--book on EJBs, Enterprise JavaBeans, has
been completely revised and updated in this new fourth edition, to provide the
real-world, nitty-gritty detail developers need to master EJB 2.1.
Previous editions of this clear and engaging introduction to EJBs were
voted the "Best Java Book" by the editors and readers of Java Developer's
Journal, the "Best Java Book for Experts," by JavaPro editors, and
one of the Top Computer Books by Amazon.com. The fourth edition lives up to--and
surpasses--the excellent reputation earned by its predecessors.
This
authoritative and thorough guide includes everything that made previous editions
the single must-have book for EJB developers: the authors solid grasp on the
complexities of EJBs coupled with his succinct, easy-to-follow style; hundreds
of clear, practical examples; adept coverage the key concepts EJBs ; and
diagrams to illustrate the concepts presented. It also includes everything you
need to get up to speed quickly on the changes wrought by EJB version 2.1, an
architecture overview, information on resource management and primary services,
design strategies, and XML deployment descriptors.
In this edition,
we're adding an EJB workbook for JBoss 4.0. The workbook shows how to deploy all
of the examples on the JBoss 4.0 application server. It addresses an important
problem with EJB: deploying the software on a server can be extremely difficult.
JBoss is an open source project that has become the most widely used J2EE
application server.
Good technical authors may lay the facts before you,
but great ones offer the distilled essence of their own experience and insight.
Richard Monson-Haefel has provided just what Java developers need to know to
harness the complexity of EJBs. What makes Monson-Haefel a master of technical
authoring can be seen in his well-thought-out and logical progression of ideas,
and in his examples practical, precise, usable examples, large enough to test
key concepts but still small enough to be comprehensible taken apart and
explained in the detail you need to deploy those principles in other situations.
If you work with EJBs--or want to--this book will earn a favored spot on
your bookshelf.
Table of Contents:
Preface
Part I. The Technical Manuscript
1. Introduction
Server-Side Components
Distributed Object Architectures
Component Models
Asynchronous Messaging
Titan Cruises: An Imaginary Business
What's Next?2. Architectural Overview
The Enterprise Bean Component
Using Enterprise Beans
The Bean-Container Contract
Summary3. Resource Management and the Primary Services
Resource Management
Primary Services
What's Next?4. Developing Your First Enterprise Beans
Choosing and Setting Up an EJB Server
Developing an Entity Bean
Developing a Session Bean5. The Remote and Local Client View
Locating Beans with JNDI
The Remote Client API
The Local Client API6. CMP: Basic Persistence
The Abstract Programming Model
The Customer EJB
Persistence Fields
Dependent Value Classes
Relationship Fields7. CMP: Entity Relationships
The Seven Relationship Types8. CMP: EJB QL
Declaring EJB QL
The Query Methods
EJB QL Examples
Problems with EJB QL9. Bean-Managed Persistence
The Remote Interface
The Remote Home Interface
The Primary Key
The ShipBean
Obtaining a Resource Connection
Exception Handling
The ejbCreate( ) Method
The ejbLoad( ) and ejbStore( ) Methods
The ejbRemove( ) Method
The ejbFind( ) Methods
The Deployment Descriptor10. The Entity-Container Contract
The Primary Key
The Callback Methods
ejbHome( )
EntityContext
The Life Cycle of an Entity Bean11. Session Beans
The Stateless Session Bean
The Life Cycle of a Stateless Session Bean
The Stateful Session Bean
The Life Cycle of a Stateful Session Bean12. Message-Driven Beans
JMS and Message-Driven Beans
JMS-Based Message-Driven Beans
The Life Cycle of a Message-Driven Bean
Connector-Based Message-Driven Beans
EJB 2.1: Message Linking13. Timer Service
Titan's Maintenance Timer
Timer Service API
Transactions
Entity Bean Timers
Stateless Session Bean Timers
Message-Driven Bean Timers
Final Words14. EJB 2.1: Web Service Standards
Web Services Overview
XML Schema and XML Namespaces
SOAP 1.1
WSDL 1.1
UDDI 2.0
From Standards to Implementation15. EJB 2.1 and Web Services
Accessing Web Services with JAX-RPC
EJB Endpoints16. Transactions
ACID Transactions
Declarative Transaction Management
Isolation and Database Locking
Nontransactional Beans
Explicit Transaction Management
Exceptions and Transactions
Transactional Stateful Session Beans17. J2EE
Servlets
JavaServer Pages
Web Components and EJB
Filling in the Gaps
Fitting the Pieces Together18. XML Deployment Descriptors
The ejb-jar File
The Contents of a Deployment Descriptor
The Document Header and Schema Declarations
The Descriptor's Body
Describing Enterprise Beans
Describing Relationships
Describing Bean Assembly19. EJB Design in the Real World
Pre-Design: Containers and Databases
Design
Should You Use EJBs?
Wrapping UpPart II. JBoss Workbook
Introduction
1. JBoss Installation and Configuration
About JBoss
Installing JBoss Application Server
A Quick Look at JBoss Internals
Exercise Code Setup and Configuration2. Exercises for Chapter 4
Exercise 4.1: A Simple Entity Bean
Exercise 4.2: A Simple Session Bean3. Exercises for Chapter 5
Exercise 5.1: The Remote Component Interfaces
Exercise 5.2: The EJBObject, Handle, and Primary Key
Exercise 5.3: The Local Component Interfaces4. Exercises for Chapter 6
Exercise 6.1: Basic Persistence in CMP 2.0
Exercise 6.2: Dependent Value Classes in CMP 2.0
Exercise 6.3: A Simple Relationship in CMP 2.05. Exercises for Chapter 7
Exercise 7.1: Entity Relationships in CMP 2.0, Part 1
Exercise 7.2: Entity Relationships in CMP 2.0, Part 2
Exercise 7.3: Cascade Deletes in CMP 2.06. Exercises for Chapter 8
Exercise 8.1: Simple EJB QL Statements
Exercise 8.2: Complex EJB QL Statements7. Exercises for Chapter 9
Exercise 9.1: A BMP Entity Bean8. Exercises for Chapter 11
Exercise 11.1: A Stateless Session Bean
Exercise 11.2: A Stateful Session Bean9. Exercises for Chapter 12
Exercise 12.1: JMS as a Resource
Exercise 12.2: The Message-Driven Bean10. Exercises for Chapter 13
Exercise 13.1: EJB Timer Service11. Exercises for Chapter 15
Exercise 15.1: Web Services and EJB 2.1Appendix. Database Configuration
Index