This content has been marked as final.
Show 2 replies
-
1. Re: JNDI entries not in web.xml/jboss-web.xml/ejb-jar.xml
belwig Feb 5, 2007 11:30 AM (in response to dynapen)I'm curious if you found your answer. I have the same 'issue', except for different reasons. Simply, I want to define an environment entry outside the war.
Something equivalent to tomcat's 'Environment' tag in a context descriptor (which we keep in /conf/Catalina/localhost) would be nice.
Any thoughts? -
2. Re: JNDI entries not in web.xml/jboss-web.xml/ejb-jar.xml
waynebaylor Jul 27, 2007 9:37 PM (in response to dynapen)have you considered using a session bean to distribute properties (making an env-entry in the ejb-jar.xml for each property)?
another possibility is to deploy a properties file and read it from a session bean with getResourceAsStream(...).