When returning entity beans, is it better practice to return PK objects
from session bean methods or remote interfaces?
It's more convenient for us to return the interface from a session bean,
however, that means the interface may get passed between containers. But
what does that mean for the following case:
Container A contains entity bean A, then the remote interface is returned
from some session bean to container B. Then container A is restarted. Does
that invalidate remote interface A in container B, or does container A
simply re-activate entity bean A? Obviously if the interface is
invalidated having the pk allows you to quickly look it up again, however,
if it is simply reactivated in container A the problem is taken care of
for you.
Thanks,
Todd
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]