13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 23Deploying EJBsIn this chapter we take apart an EAR, put it together, and then send it out intothe world.23.1WHAT 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 Ger<strong>on</strong>imo.Some people may w<strong>on</strong>der why any<strong>on</strong>e would want to describe to you howto build an EAR by hand. The task of c<strong>on</strong>structing such things is increasinglyautomated, often performed by IDEs, Ant, or J2EE c<strong>on</strong>tainers or related tools.So why the grubby details of doing it yourself? Two reas<strong>on</strong>s, really. First, if you505

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!