-
1. Re: JBoss look up protocol - rmi ?
juha Nov 7, 2002 7:33 AM (in response to renjith)RMI by default
-
2. Re: JBoss look up protocol - rmi ?
renjith Nov 7, 2002 8:00 AM (in response to 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 ?
juha Nov 7, 2002 9:48 AM (in response to renjith)> 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 Nov 7, 2002 10:51 PM (in response to renjith)great thanks for your quick valuable replies