This content has been marked as final.
Show 2 replies
-
1. Re: Jboss7 SAR deployment
pgmjsd Jan 4, 2012 1:17 PM (in response to pushpak1981)1 of 1 people found this helpfulIt depends what you want to do. AS7 no longer supports the @Service annotation, but it does support:
- META-INF/jboss-service.xml for declaring MBeans
- EJB 3.1 @Singleton and @Startup annotations
See
-
2. Re: Jboss7 SAR deployment
pushpak1981 Jan 4, 2012 1:55 PM (in response to pgmjsd)Thanks for the reply. Our SAR contains a jboss-beans.xml file which contains our POJO service configuration. This file is different from
jboss-service.xml present in META-INF. http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Web_Platform/5/html/Administration_And_Configuration_Guide/jbosscache-custom-deployment-beans.xml.html
Our beans configued in jboss-beans.xml does not have any annotation in the code they are just loaded as simple POJO during system startup.
Does this jboss-beans.xml file supprt in Jboss7 ?