1

如何在一个.ear文件中同时包含两个.war?

 7 months ago
source link: https://www.jdon.com/10590.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

如何在一个.ear文件中同时包含两个.war?

我想在一个.ear包中放入两个.war,并且通过其中的一个.war可以访问另一个.war中的文件。不知道能不能实现?如下的放置,好像不能够,希望有人可以帮忙解决?谢谢!
//application.xml如下:

<?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>
<display-name>Basic StatefulSession ejb20</display-name>
<description>Basic StatefulSession ejb20</description>

<module>
<ejb>cdm.jar</ejb>
</module>
<module>
<web><web-uri>common.war</web-uri></web>
<web><web-uri>web.war</web-uri></web>
</module>
</application>

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK