If these are properties you need to access within an EJB, consider using environment entries in the bean's deployment descriptor. For example, to create an integer property called "foo" with the value of 28 add the following to the ejb-jar.xml file:
Hope this helps
How are these entries accessed? Also, what if the same entry also needs to be accessed by a jsp?
Create a Singleton that would be kicked off from a load-on-startup servlet. This wud read a proprties using getResource() and store it as a singleton or jndi if clustered. Once u have it, u can access from ejb, jsp, whatever.
Ofcourse, this is just one way, there are multitude of patterns available to solve this