This book simplifies the creation of well-designed enterprise applications using the upgraded Enterprise JavaBeans (EJB) 2.0 specification. Authors Gail and Paul Anderson use detailed code examples to design and create components, stand-alone Java platform clients, and JavaServer Pages [tm] API clients. They introduce powerful EJB platform design patterns, and show how to apply them in real-world projects. The extensive code examples are real-world business components with just enough complexity to explain subtle design issues. The authors show how to apply J2EE platform design patterns-Value Object, Data Access Object, Value List Iterator, and Session Façade Pattern. The text covers the EJB 2.0 specification, including
- Stateless and stateful session beans
- Entity beans with bean-managed persistence
- Entity beans with container-managed persistence
- Container-managed relationships
- Local and remote interfaces
- Message-driven beans
Every chapter includes a "Design Guidelines and Patterns" section designed to help you assess tradeoffs associated with your design decisions and key point summaries that tie together important concepts.