Chapter 11. Packaging EJB 3 applications

This chapter covers

  • Class loading concepts
  • Packaging EJB 3 components
  • Packaging EJB 3 entities
  • O/R mapping with XML
  • Deployment issues and best practices

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. The real success of Java EE applications lies in assembly and deployment, as this is the key to delivering on Java’s promise of write once, run anywhere (WORA). If you fail to fully grasp this step, your application may not realize this level of portability.

A typical application has a handful of Java classes, and maintenance can be a nightmare if you are shipping your applications ...

Get EJB 3 in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.