Develop powerful, standards-based, back-end business logic with Beginning EJB 3, Java EE 7 Edition, 2nd Edition. Led by an author team with 20 years of combined Enterprise JavaBeans experience, you’ll learn how to use the new EJB 3.2 APIs. You’ll gain the knowledge and skills you’ll need to create the complex enterprise applications that run today’s transactions and more.
Targeted at Java and Java EE developers, with and without prior EJB experience, Beginning EJB 3 is packed with practical insights, strategy tips, and code examples. As each chapter unfolds, you’ll not only explore a new area of the spec; you’ll also see how you can apply it to your own applications through specific examples.
Beginning EJB 3 will serve not only as a reference, but it will also function as a how-to guide and repository of practical examples to which you can refer as you build your own applications. It will help you harness the power of EJBs and take your Java EE 7 development to the next level.
What you’ll learn
- How to employ session beans, message-driven beans, and entity beans
- How to use the updated EJB 3 persistence and object-relational mappings
- How to choose which EJB option is right for your application
- How to enrich your application’s behavior with CDI services
- How to test the EJB container inside and out
- How to migrate from older EJB to the newest EJB APIs
Who this book is for
This book is for those Java and Java EE developers with and without prior EJB experience.
Table of Contents
Chapter 1. Introduction to the EJB Architecture
Chapter 2. EJB Session Beans
Chapter 3. Entities and the Java Persistence API
Chapter 4. Advanced Persistence Features
Chapter 5. EJB Message-Driven Beans
Chapter 6. EJB and Web Services
Chapter 7. Integrating Session Beans, Entities, Message-Driven Beans, and Web Services
Chapter 8. Transaction Support in EJB
Chapter 9. EJB 3 Performance and Testing
Chapter 10. Contexts and Dependency Injection
Chapter 11. EJB Packaging and Deployment
Chapter 12. EJB Client Applications
Chapter 13. Testing in an Embeddable EJB Container