1 Reply Latest reply on Jul 22, 2003 7:00 PM by jonlee

    Bind Standard Java Object Inside MBean

    mboorshtein

      Can I place a refrence to a standard java object inside of JNDI from inside an MBean? I purchased the JBoss andmin guide and the JMX book, but it only talks about EJB (unless I missed something).

      Thanks
      Marc Boorshtein

        • 1. Re: Bind Standard Java Object Inside MBean
          jonlee

          You can bind anything you like to the JNDI space. Perhaps look at the pool source of JBoss 3.2.x - in the branch called pool. This is a generic object pool implementation that also shows how the MBean binds the pool to JNDI so you can get objects from the pool. Note that you would need to examine the EJB reference binding code to see how to make references accessible outside of the JVM in which the directory is created.