1 Reply Latest reply on Oct 23, 2007 11:17 AM by Patrizia De Luca

    remote client wants beans

    Patrizia De Luca Newbie

      I have a microcontainer with embedded jboss. I deploy resources within it (i.e. simple session beans). I also have a client in another elsewhere, in another machine, and I want it to use the methods of this beans.

      How can I do that?

        • 1. Re: remote client wants beans
          Patrizia De Luca Newbie

          Ok I succesfully made it. I was just supposed to use Remoting:

          ava.naming.factory.initial=org.jboss.naming.JBossRemotingContextFactory
          java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
          java.naming.provider.url=socket://hostname:3873

          Now the question is: can I lookup the Context, retrieving a list of deployed classes, and then choose the one I want to lookup and use?
          Or should I always explicitly know it?