Hi,

"Rickard Öberg" wrote:
> > I am pretty new to JNDI, so I may have
> > misunderstood something.
> > If anyone who knows about this can tell
> > me what I am doing wrong...
> 
> My guess is that you think that the factory is used on the serverside.
> This is wrong. The server only stores the reference. No code (factories
> or similar) is ever executed on the server. Consider that the server
> should be replacable with a LDAP server and you can easily see why this
> is the case.

Seems that I was wrong here (was assuming
the client side to be completely dump, with
no code executed), and that this is the
cause of my problem.
Also, I guess this may make it easier to
make the ClientUserTransaction a singleton.

The downside is that each
ClientUserTransaction holds a reference to
its own RMI server, so I guess I also have
to export a factory for these RMI servers.

Thanks for your help on this.
I'll try implementing these changes
tomorrow.


Best Regards,

Ole Husgaard.

Reply via email to