2 Replies Latest reply on Apr 30, 2003 1:38 PM by peter_l

    Invoking MBeans

    peter_l Newbie


      I'm new to JBoss and EJB and I was wondering if anyone knows whether the JBoss MBeans are lookup-able and callable from an EJB client just like other EJB objects?


        • 1. Re: Invoking MBeans
          Adrian Brock Master

          You need to use one of the jmx connectors/adaptors.
          e.g. The RMIAdaptor

          Search the JMX forum for details.

          Or examine the jboss testsuite which uses the
          RMIAdaptor to deploy tests remotely on the
          MainDeployer MBean.

          There are also some open source ant tasks
          that can invoke MBeans remotely, I can't remember
          the links.
          You will find JBoss's version in
          but it isn't well documentated.


          • 2. Re: Invoking MBeans
            peter_l Newbie

            Hi Adrian,
            Thanks for the feedback. I actually can view and call the MBeans from my browser via the jmx-connector, or the Management Console JMX Agent as they call it.
            But let's say I have an java client that uses the jndi to lookup and call the EJB, can I use it to lookup the MBeans and call them? and if yes, what would be the home object namespace that I should use, provided I include my local machine in the url.