I am migrating a tomcat .war file over to jboss. The code relies on JNDI lookups to get information from the context.xml file. This information is part of the local deployment so it varies on different deployments of the war file.
Is there a way I can tell my war file that it can find JNDI information in a simple file somewhere? I don't mind that it isn't a context file format, as long as the code still sees JNDI. The information is ideally only available to the application, but I'll settle for available to all of them.