[jboss-user] [Installation, Configuration & Deployment] - Re: Configuring EJB
PeterJ
do-not-reply at jboss.com
Mon Nov 20 11:35:47 EST 2006
You could place a properties file in the same directory as the EJB class file and access it using this.class().getResourceAsStream(prop-file-name).
You could place a properties file in server/default/data and access it as follows:
String datadir = System.getProperties("jboss.server.data.dir");
File f = new File(datadir + "/" + prop-file-name);
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987341#3987341
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987341
More information about the jboss-user
mailing list