I am trying to access a property file from my EJB. I do not want to use deployment descriptors to make it easier to edit the property values. I also do not want the properties file included in a jar or ear file, just a standalone file (again to make it easy to edit). My plan is to use code like the following
Properties prop = new Properties(); prop.load(this.getClass().getResourceAsStream("myEJB.properties"));
My question is where can I put the properties file so the code can find it. I've tried various locations w/o success.