Hi
I a jar of ejb's
I want to perform some configuration to them
therefore i have a property file, now i'm able to load the properties inside my beans from this property file if i added it to the classpath, however i would like to have a way not to add them to the classpath and to read them
I want to have this hierarchy
jboss/server/default/myejbfolder/myejb.jar
I would like to have my property file beside my jar so it would be easy for users to configure its ejb's
is there any way to do it without adding the property file folder to the classpath?
input = ClassLoader.getSystemResourceAsStream("tomer.properties");
Properties properties = new Properties();
properties.load(input);
System.out.println(properties.getProperty("im"));
its ok im using JMX instead of any property files...