Preface |
|
xi | |
|
|
1 | (22) |
|
|
2 | (3) |
|
Enterprise JavaBeans Defined |
|
|
5 | (1) |
|
Distributed Object Architectures |
|
|
5 | (7) |
|
|
12 | (1) |
|
Component Transaction Monitors |
|
|
13 | (3) |
|
CTMs and Server-Side Component Models |
|
|
16 | (6) |
|
Titan Cruises: An Imaginary Business |
|
|
22 | (1) |
|
|
22 | (1) |
|
|
23 | (29) |
|
The Enterprise Bean Component |
|
|
23 | (17) |
|
|
40 | (8) |
|
The Bean-Container Contract |
|
|
48 | (2) |
|
|
50 | (2) |
|
Resource Management and the Primary Services |
|
|
52 | (34) |
|
|
53 | (8) |
|
|
61 | (24) |
|
|
85 | (1) |
|
Developing Your First Enterprise Beans |
|
|
86 | (31) |
|
Choosing and Setting Up an EJB Server |
|
|
86 | (1) |
|
Developing an Entity Bean |
|
|
87 | (20) |
|
Developing a Session Bean |
|
|
107 | (10) |
|
|
117 | (34) |
|
|
117 | (2) |
|
|
119 | (24) |
|
EJB 2.0: The Local Client API |
|
|
143 | (8) |
|
EJB 2.0 CMP:Basic Persistence |
|
|
151 | (32) |
|
|
151 | (4) |
|
|
155 | (12) |
|
|
167 | (1) |
|
|
168 | (3) |
|
|
171 | (12) |
|
EJB 2.0 CMP: Entity Relationships |
|
|
183 | (44) |
|
The Seven Relationship Types |
|
|
183 | (44) |
|
|
227 | (26) |
|
|
228 | (1) |
|
|
229 | (5) |
|
|
234 | (16) |
|
|
250 | (3) |
|
|
253 | (12) |
|
A Note for EJB 2.0 Readers |
|
|
253 | (1) |
|
Overview for EJB 1.1 Readers |
|
|
253 | (2) |
|
Container-Managed Persistence |
|
|
255 | (10) |
|
|
265 | (21) |
|
|
266 | (1) |
|
The Remote Home Interface |
|
|
267 | (1) |
|
|
268 | (1) |
|
|
268 | (5) |
|
Obtaining a Resource Connection |
|
|
273 | (1) |
|
|
274 | (1) |
|
|
275 | (2) |
|
The ejbLoad() and ejbStore() Methods |
|
|
277 | (3) |
|
|
280 | (1) |
|
|
280 | (4) |
|
The Deployment Descriptor |
|
|
284 | (2) |
|
The Entity-Container Contract |
|
|
286 | (29) |
|
|
286 | (7) |
|
|
293 | (8) |
|
|
301 | (2) |
|
|
303 | (4) |
|
The Life Cycle of an Entity Bean |
|
|
307 | (8) |
|
|
315 | (48) |
|
The Stateless Session Bean |
|
|
316 | (14) |
|
The Life Cycle of a Stateless Session Bean |
|
|
330 | (3) |
|
The Stateful Session Bean |
|
|
333 | (25) |
|
The Life Cycle of a Stateful Session Bean |
|
|
358 | (5) |
|
|
363 | (34) |
|
|
363 | (14) |
|
|
377 | (20) |
|
|
397 | (48) |
|
|
397 | (6) |
|
Declarative Transaction Management |
|
|
403 | (10) |
|
Isolation and Database Locking |
|
|
413 | (7) |
|
|
420 | (1) |
|
Explicit Transaction Management |
|
|
421 | (12) |
|
Exceptions and Transactions |
|
|
433 | (8) |
|
Transactional Stateful Session Beans |
|
|
441 | (4) |
|
|
445 | (24) |
|
Hash Codes in Compound Primary Keys |
|
|
445 | (1) |
|
|
446 | (8) |
|
Improved Performance with Session Beans |
|
|
454 | (5) |
|
|
459 | (1) |
|
Implementing a Common Interface |
|
|
460 | (4) |
|
Entity Beans Without Create Methods |
|
|
464 | (1) |
|
EJB 1.1: Object-to-Relational Mapping Tools |
|
|
465 | (1) |
|
Avoid Emulating Entity Beans with Session Beans |
|
|
465 | (1) |
|
Direct Database Access from Session Beans |
|
|
466 | (1) |
|
Avoid Chaining Stateful Session Beans |
|
|
467 | (2) |
|
XML Deployment Descriptors |
|
|
469 | (38) |
|
What Is an XML Deployment Descriptor? |
|
|
469 | (1) |
|
The Contents of a Deployment Descriptor |
|
|
470 | (2) |
|
|
472 | (1) |
|
|
473 | (1) |
|
Describing Enterprise Beans |
|
|
474 | (18) |
|
EJB 2.0: Describing Relationships |
|
|
492 | (3) |
|
|
495 | (10) |
|
|
505 | (2) |
|
Java 2, Enterprise Edition |
|
|
507 | (42) |
|
|
507 | (2) |
|
|
509 | (1) |
|
|
509 | (1) |
|
|
510 | (4) |
|
Fitting the Pieces Together |
|
|
514 | (2) |
|
|
516 | (33) |
|
The Enterprise JavaBeans API |
|
|
517 | (9) |
|
State and Sequence Diagrams |
|
|
526 | (20) |
|
|
546 | (3) |
Index |
|
549 | |