I would like to set the context-root of the web application part of my enterprise application (bundled as an EAR). I added an "application.xml" file which looks like this:
<application>
<module>
<web>
<web-uri>SearchResulter-war.war</web-uri>
<context-root>/searcharoo</context-root>
</web>
</module>
</application>
The thing is, I have EJBs in the project as well. It seems that the Java EE 5/6 magic previously did not require me to include an "application.xml" file, and that was all good until I wanted to change the context-root. Is it an all-or-nothing proposition as far as defining your own goes? In other words, must I add an <ejb>
element with the relevant info?