Maybe this is what you want:
MyAppEjb.jar
| |
| |
| |----- configuration.xml
| |
| |
| |----- org
| | |
| | |--- myapp
| | | |
| | | |--- MyConfigurationReader.class
|
In your MyConfigurationReader.class (which reads the configuration.xml) you could do
this:
InputStream inputStream =
this.getClass().getClassLoader().getResourceAsStream("configuration.xml");
|
Then pass that inputStream to an xml parser.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172955#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...