Application structure description: Ear application with ejb module (.jar), jboss-seam (.jar) and war module (.war).

I have a `StartupAction.class` (seam component) annotated with `org.jboss.seam.annotations.Startup`. During application deployment I need to get the resource from application.war module root (*application.war/pages/page.xhtml*) and `WEB-INF/classes` (*application.war/WEB-INF/classes/file.properties*)

* **Jboss 4.2**
`Thread.currentThread().getContextClassLoader().getResourceAsStream("file.properties")` would fetch the file from *application.war/WEB-INF/classes/file.properties.*
* **Jboss 7.1.1**  

Code from above doesn't work with Jboss 7.

I know that the class loading changed but I can't figure it out how to get into *application.war* in jboss 7.

Is it possible to do this? Are there any example of this?

Thanks in advance.