Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

application.xml and deployment method  RSS feed

 
Raj Ohadi
Ranch Hand
Posts: 316
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In META_INF/ directory of the enterprise application project, there is an application.xml file. It includes things like

<web-module>
<web-uri>webModule.WAR</web-uri>
<context>..</context>
</web-module>

<ejb-module>
<ejb-uri>ejbModule.jar</ejb-module>
</ejb-module>

If I want to deploy this application in exploded way (for development env), should I replace the "webModule.war" and "ejbMdule.jar" by something else like directory names ? Can I keep putting the .war and .jar in the <uri> block and still deploy it in exploded method ?
 
Ankit Garg
Sheriff
Posts: 9610
37
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In exploded mode, put the .war and .ejb at the end of the folder names for the modules. At least this is the case for jBoss AS which you can see here...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!