Hi,
my 2 cents.
> Object objref = initialContext.lookup(JNDINames.LOGIN_EJBHOME);
> LoginHome loginHome = (LoginHome)
>PortableRemoteObject.narrow(objref,LoginHome.class);
> loginRemote = loginHome.create( (String)
>session.getAttribute(Keys.jmbag)
> , (UserData)
>session.getAttribute(Keys.userData) );
> session.setAttribute(Keys.LoginRemoteKey,loginRemote);
>I'm not sure if this is right way to store references to EJBs (maybe some
pooling problems etc.?).
this is one way. Pooling problems belong to the EJB Container that u are
using, afaik.
>Should I store handles or should I do something else?
U can store handles also, but once i read that there can be
problems in clustered environments.....
br
marco
Any suggestions or links?
Thanks in advance!
Denis Kranjcec
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
==========================================================================To
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".