Java Reference
In-Depth Information
Example 23.2 Sample application.xml file
<?xml version="1.0" encoding="ISO-8859-1"?>
<application>
<display-name>BudgetPro</display-name>
<module>
<web>
<web-uri>budgetpro.war</web-uri>
<context-root>/budgetpro</context-root>
</web>
</module>
<module>
<ejb>budgetpro.jar</ejb>
</module>
</application>
That takes care of the two plain files. Let's also look inside the other two
archives, the JAR file and the WAR file, and see what they hold.
23.2.1
Let's look first at the content of the JAR file. After that we'll look at the specifics
of the XML descriptor files.
What's in an EJB-JAR File
$ jar xf budgetpro.ear # unjar the EAR
$ ls # see what we got
META-INF
budgetpro.ear
budgetpro.jar
budgetpro.war
$ jar tf *.jar # list the JAR contents
META-INF/
META-INF/MANIFEST.MF
com/
com/jadol/
com/jadol/budgetpro/
net/
net/multitool/
net/multitool/util/
com/jadol/budgetpro/MoneyLocal.class
com/jadol/budgetpro/SessionTestServlet.class
Search WWH ::




Custom Search