1 of 1 people found this helpful
It 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
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 ?