We have a full chapter on MDB and more than half of our contents cover JPA. Here is the TOC for the book.
1. What's what in
EJB 2. A First taste of EJB
3. Building Business Logic with Session beans
4. Messaging and Developing Message Driven Beans
5. Learning Advanced EJB Concepts
6. Transactions and Security
7. Implementing Domain Models
8. Object-Relationship Mapping
9. Manipulating entities with EntityManager API
10. Using the Query API and the
Java Persistence Query Language
11. Packaging EJB 3 Applications
12. Effectively Integrating EJB 3 across Your Application Tiers
13. Taming Wild EJBs - Performance and Scalability
14. Migrating to EJB 3
15. Exposing EJBs as Web Services
16. EJB 3 and Spring
Appendix A. RMI and JNDI
Appendix B. Reviewing relational databases
Appendix C. Annotations reference
Appendix D. Deployment descriptors reference
Appendix E. Installing and configuring the Java EE 5 SDK