Hi!! 
Inside an EJB you can have a FileStream representation using the classloader 
and Threadl.
here goes a little sample:
                ClassLoader loader = 
Thread.currentThread().getContextClassLoader();
  |             InputStream stream = loader
  |                             .getResourceAsStream("rolesAllowed.properties");
  | 
here rolesAllowed.properties is a file resource located at 
$JBOSS_HOME/server/default/conf. 
you can use any relative path that is present on the ejb classpath.
I hope this helps you.
Best
Gustavo

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098780#4098780

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098780
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to