Using Jboss services (SAR) in Applications (EAR)
The following is an example of a JBoss application deployment descriptor that references a SAR:
<jboss-app> <loader-repository>dpiwe.lmm:loader=LMMApp.ear</loader-repository> <module> <service>security.sar</service> </module> </jboss-app>
The JBoss deployment descriptor is the file META-INF/jboss-app.xml in an EAR file; the EAR will also contain a J2EE DD, META-INF/application.xml
See also ServiceArchive SERVICEdotXML JBossService
Comments