Chapter 23. Deploying EJBs

In this chapter we take apart an EAR, put it together, and then send it out into the world.

What you Will Learn

  • What is in an EAR.

  • How to build an EAR by hand.

  • How to integrate some of the tools we’ve covered before (CVS and Ant) to automate this and avoid having to build an EAR by hand.

  • How to deploy an EAR to JBoss.

  • How to deploy an EAR to Geronimo.

Some people may wonder why anyone would want to describe to you how to build an EAR by hand. The task of constructing such things is increasingly automated, often performed by IDEs, Ant, or J2EE containers or related tools. So why the grubby details of doing it yourself? Two reasons, really. First, if you hide behind the tool, you never fully understand what is happening. It looks ...

Get Java™ Application Development on Linux® 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.