David Sims wrote:
> Let me say it in a different way. If an entity bean is identified by the
> primary key FOO, then you can connect to that entity bean remotely and
> from multiple JVMs by doing a Home.findByPrimaryKey(FOO). Would you
> agree?
>
> Now just take it one step further. Let's say you call
> Home.findByPrimaryKey(BAR). And suppose I secretly switch out BAR and
> replace it with FOO. Then you still get the original FOO entity bean,
> don't you? Even though you asked for the BAR entity bean.
This would only be true if BAR.equals(FOO). Is that what you mean? There is nothing I
see in the spec that prohibits the server from responding to findByPrimaryKey without
calling bean.ejbFindByPrimaryKey.
--Victor
===========================================================================
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".