This content has been marked as final.
Show 4 replies
-
-
2. Re: Migrate jmx from jboss 6
zgood Dec 19, 2011 8:15 AM (in response to pisi)Unfortunatly this example doesn`t work on jboss 7.1 Beta.
If i describe mbean in old style(via jboss-service.xml) it works.
-
3. Re: Migrate jmx from jboss 6
jaikiran Dec 19, 2011 9:16 AM (in response to zgood)1 of 1 people found this helpfulAS7 no longer supports
@org.jboss.ejb3.annotation.Service. We deprecated it in AS6 and removed support for it in AS7. If you want the singleton nature of @Service, then you can use the EJB3.1 spec @Singleton bean.
-
4. Re: Migrate jmx from jboss 6
jaikiran Dec 19, 2011 9:19 AM (in response to jaikiran)For the JMX management semantics that @Service provided, you could try this http://www.adam-bien.com/roller/abien/entry/singleton_the_simplest_possible_jmx