[jboss-user] [Beginner's Corner] - Inject MBean ref into web app?

dustin.a.parker do-not-reply at jboss.com
Thu Oct 8 20:06:28 EDT 2009

Hello; first post here.

I'm developing a simple, stateful service, and I like the idea of managing it with an MBean interface (it's very simple), but I also need to expose it as a (JAX) web service. I'd like to keep the web-servicey code away from the MBean code if possible, but then the web service needs to get a handle to the MBean. Is it possible for JBoss to inject a reference to the MBean into the web service endpoint?

If not, is an EJB a better way to go?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259483#4259483

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259483

More information about the jboss-user mailing list