Hi,
im currently migrating an existing SEAM 2 application from JBoss 6 to JBoss 7.
I must read an HTML file packaged inside the WAR from an Service that
is packaged inside the EJB archive.
I have the following depolyment structure:
+ proj.ear
- proj.war
- proj.ejb
In JBoss 6 it was possible with:
InputStream htmlContent = Thread.currentThread().getContextClassLoader().getResourceAsStream("/proj.war/sample.html");
Is there a way to do the same thing with JBoss 7? I have already read about the possibility to use an
extra module. But in my opinion the proj.war is already an implicit module and i want to avoid
splitting HTML files accross different modules.
I have attached the EAR deployment descriptor.
Thanks in advance