How to read property files from within a jar?
Hello!I have a EJB packed in a jar file that works fine.
This EJB reads properties from a property file.
I have manualy put that property file in the appserver root. (The folder where this EJB execute or in other words System.getPrperty("user.dir"))
Now I would like to pack this property file inside my EJB.jar file but the EJB doesn't seems to find it.
Is it possible to pack it inside the jar at all and get from the EJB?
Or do I have to put it manualy in the appserver root to be able to use from the EJB?
Any comment is welcome!!
Best regards
Fredrik
