Enterprise JavaBeans

Front Cover
"O'Reilly Media, Inc.", 2001 - Computers - 567 pages

"Enterprise JavaBeans" was recently voted "Best Java Book" by the editors and readers of Java Developer's Journal. Readers of JavaPro named it the "Best Java Book for Experts." And Amazon.com included it in the Top Computer Books for 2000. Now the best only gets better! In the new 3rd edition, "Enterprise JavaBeans" has been completely revised and updated with a thorough introduction to the new 2.0 version of the EJB specification. Significantly different from the earlier version, the 2.0 specification introduces three dramatic improvements: A completely new version of container-managed persistence; local interfaces; and a totally new kind of bean called the "message driven bean."The new version of container-managed persistence (CMP) beans in 2.0 is more portable and robust than in the older 1.1 version. Most significant is the introduction of the relationship fields, which allow entity beans to declare relationships with each other as natural references. In order to make this huge leap in component relationships possible, EJB 2.0 had to redesign how entity beans are defined and interact. Our new 3rd edition examines this critical CMP model in detail.Local interfaces are thoroughly discussed as well. Local interfaces allow beans that are co-located to interact without the overhead of remote method calls. This improves the performance of beans considerably and complements the CMP relationship fields.Message driven beans are a new kind of enterprise bean based on asynchronous messaging and the Java Message service (JMS). Instead of responding to Java RMI calls, message driven beans process JMS messages sent by messaging clients. An entire chapter is devoted to message-driven beans and how to use them effectively.In addition, the 3rd edition contains an architecture overview, information on resource management and primary services, design strategies, and XML deployment descriptors.

 

Selected pages

Contents

Preface
xi
Introduction
1
Architectural Overview
23
Resource Management and the Primary Services
52
Developing Your First Enterprise Beans
86
The Client View
117
EJB 20 CMP Basic Persistence
151
EJB 20 CMP Entity Relationships
183
Session Beans
315
MessageDriven Beans
363
Transactions
397
Design Strategies
445
XML Deployment Descriptors
469
Java 2 Enterprise Edition
507
The Enterprise JavaBeans API
517
State and Sequence Diagrams
526

EJB 20 CMP EJB QL
227
EJB 11 CMP
253
BeanManaged Persistence
265
The EntityContainer Contract
286
EJB Vendors
546
Index
549
Copyright

Other editions - View all

Common terms and phrases

About the author (2001)

Richard Monson-Haefel is the author of Enterprise JavaBeans, 3rd Edition, Java Message Service and one of the world's leading experts and book authors on Enterprise Java. He is the lead architect of OpenEJB, an open source EJB container used in Apple Computer's WebObjects plateform, and has consulted as an architect on J2EE, CORBA, Java RMI and other distributed computing projects over the past several years.

Bibliographic information