3
jboss 4.0.2를 사용하고 하나의 .ear 파일 내에 두 개의 .war 파일을 갖고 싶습니다.하나의 .ear 파일 내에 두 개의 .war 파일을 저장하는 방법은 무엇입니까?
jboss 4.0.2를 사용하고 하나의 .ear 파일 내에 두 개의 .war 파일을 갖고 싶습니다.하나의 .ear 파일 내에 두 개의 .war 파일을 저장하는 방법은 무엇입니까?
나는이 자기 분명 EAR의 application.xml을 파일의 구조에서라고 생각했을 것이다, 그러나 여기 두 워즈 보이는 방법의 예 :
<?xml version="1.0" encoding="UTF-8"?>
<application>
<module>
<web>
<web-uri>/directory/of/war1</web-uri>
<context-root>/war1</context-root>
</web>
</module>
<module>
<web>
<web-uri>/directory/of/war2</web-uri>
<context-root>/war2</context-root>
</web>
</module>
</application>
@Vinegar보기 : 내에서 여러 WAR들이 있기 때문에 단일 EAR은 일반적인 관행입니까? – skaffman
@skaffman : 죄송합니다. 경험이 부족합니다. ;피 –