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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

508Chapter 23Deploying EJBsExample 23.2 Sample applicati<strong>on</strong>.xml fileBudgetProbudgetpro.war/budgetprobudgetpro.jarThat takes care of the two plain files. Let’s also look inside the other twoarchives, the JAR file and the WAR file, and see what they hold.23.2.1 What’s in an EJB-JAR FileLet’s look first at the c<strong>on</strong>tent of the JAR file. After that we’ll look at the specificsof the XML descriptor files.$ jar xf budgetpro.ear # unjar the EAR$ ls # see what we gotMETA-INFbudgetpro.earbudgetpro.jarbudgetpro.war$ jar tf *.jar # list the JAR c<strong>on</strong>tentsMETA-INF/META-INF/MANIFEST.MFcom/com/jadol/com/jadol/budgetpro/net/net/multitool/net/multitool/util/com/jadol/budgetpro/M<strong>on</strong>eyLocal.classcom/jadol/budgetpro/Sessi<strong>on</strong>TestServlet.class

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

Saved successfully!

Ooh no, something went wrong!