Hi,

I have searched the forums and the Internet for the question how to get JBoss 
4.0.0 work with rmi instead of jnp, but couldn't find an answer.
Does anyone know what configurations have to be changed in order to use rmi?
What is the client call?
for jnp it is e.g:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
            "org.jnp.interfaces.NamingContextFactory");
env.put(Context.PROVIDER_URL, "jnp://localhost:1099");
    env.put("java.naming.factory.url.pkgs",
            "org.jboss.naming:org.jnp.interfaces");

    try {

      Context ctx = new InitialContext(env);
      Object obj = ctx.lookup("HelloWorld");
}...
how does this look like for rmi?


By the way, I'd like to know if I need the "all" configuration for rmi (I 
thought and think the "default" conf should be enough, I do not need 
clustering, etc.).

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867422#3867422

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867422


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to