4 Replies Latest reply on Nov 7, 2002 10:51 PM by renjith

    JBoss look up protocol - rmi ?

    renjith


      Which protocol JBoss uses to locate EJBs on the server
      ( when creating InitialContext and lookup )

      RMI or JNP ?

      I Know that Oracle and Orion uses Ormi and IBM uses t3
      such a protocol exists in JBoss ?


      plz give me some helps or links to good articles

      Renjith

        • 1. Re: JBoss look up protocol - rmi ?

          RMI by default

          • 2. Re: JBoss look up protocol - rmi ?
            renjith


            in the following code java.naming.provider.url is
            "jnp://david:1099"

            is this purely RMI connection ?

            if so what it actually means?
            ( just a machine name and rmi port ? )
            and why it is specifies as jnp://

            Renjith.


            env.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory" ) ;
            env.put("java.naming.provider.url", "jnp://david:1099") ;
            env.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces" ) ;


            • 3. Re: JBoss look up protocol - rmi ?

              > in the following code java.naming.provider.url is
              > "jnp://david:1099"
              >
              > is this purely RMI connection ?

              yes


              > if so what it actually means?
              > ( just a machine name and rmi port ? )

              yes

              > and why it is specifies as jnp://

              IIRC, the jnp: protocol scheme is just used to pick the correct factory classes (when creating an initial context for instance). But it's been a looooong time since I last looked at that code.


              • 4. Re: JBoss look up protocol - rmi ?
                renjith

                great thanks for your quick valuable replies