Where to place configuration files in EAR
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Guillaume_Bilodeau
Posted On:   Thursday, November 14, 2002 07:46 AM

Hi and thanks for reading,


Our J2EE system relies on a few .properties files to get configuration details. We need to be able to modify these files once the system is deployed, so they need to be visible at the EAR level.


Currently, these files are located at the root of the common.jar file and therefore are not visible once deployed (unless we unzip the JAR, which we don't want). Where (in what directory) should we place these files? And how should we access these files in the code, in terms of relative paths?


Thanks a lot!
Guillaume

Re: Where to place configuration files in EAR

Posted By:   Bozidar_Dangubic  
Posted On:   Thursday, November 14, 2002 08:49 AM

why don't you store your properties in the JNDI? that way, you have access to them from any EJB you want.
About | Sitemap | Contact