0%

Book Description

EJB 3 is the most important innovation introduced in Java EE 5.0. EJB 3 promises to simplify enterprise development, abandoning the heavyweight EJB 2.x model in favor of a lightweight POJO framework. The API represents a lot of hard work, honest introspection, and a fresh perspective on EJB, all without sacrificing the mission of enabling business application developers to create robust, scalable, standards-based solutions.

In the tradition of Manning's In Action series, this book tackles the subject matter head-on, through numerous code samples, real-life scenarios, and illustrations. It is geared toward helping you learn EJB 3 quickly and easily. The authors make the subject matter approachable, covering the basics where needed as well as providing guidance, deep coverage, and best practices. The book highlights what EJB 3 has to offer without disregarding the contributions and strengths of seminal technologies like Spring, Hibernate or TopLink.

What's Inside

* Building Business Logic with POJO Session Beans and Message Driven Beans

* EJB 3 Dependency Injection and Interceptors

* Domain Modeling and Object-Relational Mapping with the EJB 3 Java Persistence API

* Effectively manipulating and retrieving entities, including using the Java Persistence Query Language

* Using EJB 3 from other tiers (such as the web or application client tier) and frameworks such as Spring

* Best practices, performance tuning, and design patterns

* Migrating from EJB 2.x and other POJO frameworks

Table of Contents

  1. Copyright
  2. Dedication
  3. Brief Table of Contents
  4. Table of Contents
  5. List of Figures
  6. List of Tables
  7. List of Listings
  8. Preface
  9. Acknowledgments
  10. About this Book
  11. Part 1. Overview of the EJB landscape
  12. Chapter 1. What’s what in EJB 3
  13. Chapter 2. A first taste of EJB
  14. Part 2. Building business logic with EJB 3
  15. Chapter 3. Building business logic with session beans
  16. Chapter 4. Messaging and developing MDBs
  17. Chapter 5. Learning advanced EJB concepts
  18. Chapter 6. Transactions and security
  19. Part 3. Diving into the Java Persistence API (JPA)
  20. Chapter 7. Implementing domain models
  21. Chapter 8. Object-relational mapping
  22. Chapter 9. Manipulating entities with EntityManager
  23. Chapter 10. Using the query API and JPQL to retrieve entities
  24. Part 4. Putting EJB 3 into action
  25. Chapter 11. Packaging EJB 3 applications
  26. Chapter 12. Effectively integrating EJB 3 across your application tiers
  27. Chapter 13. Taming wild EJBs: performance and scalability
  28. Part 5. Migration and interoperability issues
  29. Chapter 14. Migrating to EJB 3
  30. Chapter 15. Exposing EJBs as web services
  31. Chapter 16. EJB 3 and Spring
  32. Appendix A. RMI and JNDI
  33. Appendix B. Reviewing relational databases
  34. Appendix C. Annotations reference
  35. Appendix D. Deployment descriptors reference
  36. Appendix E. Installing and configuring the Java EE 5 SDK
  37. Resources
  38. Index