Hey
Andy Piper wrote:
> But its not serializable so passivate will junk it. And also
> setSessionContext() will give me my home rather than the home of the entity?
You've got it backwards:
1) Stateless session beans don't get passivated
2) You can keep references to whatever you want (for example the Home of
an EntityBean)
> Ok, so here I'm caching the result of the lookup and if ejbPassivate()
> junks it then I get it again? This seem better but in a large, multi-user
> system, passivation is quite likely is it not?
Not with stateless beans. What's to passivate??
/Rickard
--
Rickard �berg
Computer Science student@LiTH
@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684
===========================================================================
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".