Hi all,
This is an obvious mistake to someone who's been here already. This is my
first distributed stuff. Can someone point me out of the weeds?
I've put a Reference to an ObjectFactory in JNDI. I set up the server, I set
up the client. I do a lookup on the object, the
ObjectFactory.getObjectInstance() on the *client* is being called!
Is that correct?
If so, I need to make the client ObjectFactory make the connection to the
server, but I suspect it isn't. I suspect that I'm doing something wrong
with my insertion of the ObjectFactory into JNDI. This is the code I'm
using:
refAddr = new StringRefAddr("nns", "chuckles");
factoryName = ComedyFactory.class.getName();
Reference laffRef
= new Reference("javax.naming.Context",
refAddr, factoryName, null);
ctx.rebind("laffs", laffRef );
any ideas?
tanks a bunch...
-b
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user