Hi!
Wei Jiang wrote:
> Session Bean can "see" Entity Bean *only* through
> naming lookup. Just as remote client, although it
> is on the same machine.
That is incorrect. A Session Bean may "see" an EntityBean either through
naming lookup or as a parameter of a call to the SessionBean or as a
result of a call to another object (EJB or JavaBean or whatever).
Additionally, a Session Bean, especially stateful ones, may save
references to EntityBeans in fields, which will be handled properly on
activation/passivation.
/Rickard
--
Rickard �berg
@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".