Appendix C. Examples

Table C-1 lists the examples in the tutorial and specifies the chapter or section in which each is discussed.

Table C-1. Examples
Chapter or Section Directory (examples/src) Features
Container-Managed Transactions (page 316) ejb/bank Rolling back a container-managed transaction, synchronizing a session bean’s instance variables with the database values
The CartEJB Example (page 70) ejb/cart A stateful session bean
Accessing Environment Entries (page 78) ejb/checker A session bean with environment entries
Container-Managed Persistence Examples (page 119), Example Queries (page 167) ejb/cmproster An application with container-managed entity beans and relationships
Mail Session Connections (page 359) ejb/confirmer Sending e-mail ...

Get J2EE™ Tutorial, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.