Chapter 13. Packaging EJB 3 applications

This chapter covers

  • The Java EE module system
  • Class loading in EE applications
  • Packaging EJBs and MDBx
  • Packaging JPA
  • Packaging CDI

In the previous chapters you learned how to build a business logic tier with session and message-driven beans, and you used entities to support the persistence tier. But now that you have all this code, what do you do with it?

This chapter begins with a discussion of application packaging and deployment—the fundamentals needed to get your Enterprise application running. We’ll explore how the various modules (JAR, EJB-JAR, WAR, CDI, and EAR) of an EE application fit together and interact when deployed to the EE server. We’ll discuss how EE applications are configured both ...

Get EJB 3 in Action, Second Edition 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.