[jboss-user] [EJB/JBoss] - Re: shared jar
jaikiran
do-not-reply at jboss.com
Thu Sep 21 09:45:08 EDT 2006
Package your ear as follows:
myApp.ear
| |
| |------------ META-INF
| | |---------- application.xml
| |
| |---- util.jar
| |
| |---- ejb.jar
| |
| |---- web.war
Your application.xml should contain the following:
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
| <application>
|
| <module>
| <java>util.jar</java>
| </module>
|
| <module>
| <web>
| <web-uri>web.war</web-uri>
| <context-root>/myApp</context-root>
| </web>
| </module>
|
| <module>
| <ejb>ejb.jar</ejb>
| </module>
|
| </application>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973246#3973246
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973246
More information about the jboss-user
mailing list