3 Replies Latest reply on Oct 30, 2002 7:24 PM by adrian.brock

    Mbean and Global JNDI Namespace

    ringo

      Hi,

      Is it possible to bind any Mbean name to the Global JNDI Namespace? If so, what's the trick?

      thanks

        • 1. Re: Mbean and Global JNDI Namespace

          For use by a client in a different VM?

          There are plenty of threads about this in this forum.

          Regards,
          Adrian

          • 2. Re: Mbean and Global JNDI Namespace
            ringo

            Yes, that's it.
            I'd like to lookup for the mail connection factory outside JBoss VM. But, its name doesn't seem to be bound in the global JNDI namespace (I can't see it in the jmx-console dump, except of course in the "java:" namespace).

            So, how can I use it from ouside JBoss?

            thanks

            • 3. Re: Mbean and Global JNDI Namespace

              Why would you create a pool of connections
              and then send the connection over the wire?

              Connections aren't generally serializable anyway.

              java: == local namespace

              Create the pool on the client or create a Mail EJB.

              Regards,
              Adrian