-
1. Re: MBean Service Archive Component deployment in JBOSS EAP 6.1
jaysensharma Nov 24, 2014 4:46 AM (in response to muruganandam.p)1 of 1 people found this helpfulHello,
As per EE6 specification the MBean can be created using @Startup and @Singleton Annotations. Which is more standard and recommended options compared to legacy SAR (service archives).
However if you have packaged your EJB jars inside EAP then refer to [1], Which talks about a new feature in EAP 6.1.X called Inter Deployment Dependencies allows you to declare dependencies between top level deployments. Which allows us to add
jboss-all.xml
file in theapp.ear/META-INF
folder in order to control the order of deployments. -
2. Re: MBean Service Archive Component deployment in JBOSS EAP 6.1
muruganandam.p Nov 26, 2014 6:25 AM (in response to jaysensharma)Hi Jay Kumar,
Thanks for you reply. The first line of your reply helpful to modify the MBean using annotation instead of jboss-service.xml file and deployed working as expected.
Regards
Muruganandam