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

    Bind Standard Java Object Inside MBean

    mboorshtein Newbie

      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).

      Marc Boorshtein

        • 1. Re: Bind Standard Java Object Inside MBean
          Jon Barnett Master

          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.