|> To fix this, all proxy objects need to know the host, they are
|> originating from.
If you really want to do that (because you really need to use the code you
just showed us) then go ahead and work on the JNP stub classes also the home
must be able to extract that information from the IC (is there a standard
call for that?), and frankly I just don't know how that is done. Does this
work on BEA????
Like I said a strange construct but if you do it you will have proven
something, what I don't know exactly ...
One way I can see it working is by encoding the server in the stub,
independently of the JNP provider... haaaa... no that won't work either
since you actually need the JNP provider...
pfff you do it!
marc
|>
|> Hashtable env = new Hashtable();
|> env.put("java.naming.factory.initial",
|> "org.jnp.interfaces.NamingContextFactory");
|> env.put("java.naming.provider.url", host);
|>
|> new InitialContext(env).lookup(name);
|>
|>
|> -alf
|>
|
|
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-development
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development