This content has been marked as final.
Show 3 replies
-
1. Re: Best way to deply an XML file with an ear?
xiangya Oct 27, 2006 3:19 PM (in response to flarosa)Could you do it utilizing Classloader or Class method:
getResourceAsStream()?
Regards -
2. Re: Best way to deply an XML file with an ear?
flarosa Oct 27, 2006 4:40 PM (in response to flarosa)Yes that does seem to work; thanks for the tip.
I'm suprised that this.getClass().getResource("/WEB-INF") actually returns the right path even though I'm calling it from an EJB. Hopefully this is not just an example of an undefined behavior that happens to be working in my particular case. -
3. Re: Best way to deply an XML file with an ear?
xiangya Oct 28, 2006 1:36 AM (in response to flarosa)No, it's a normal behavior. Class or ClassLoader should work correctly.