1 of 1 people found this helpful
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 , 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.xmlfile in the
app.ear/META-INFfolder in order to control the order of deployments.
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.