David Sims wrote:
>
> 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. And because
> we're following all the EJB rules, you can do this across JVMs and
> across machines.

It makes no difference. Even if two clients both call findByPrimaryKey(FOO),
the server is permitted to use separate instances to service concurrent
requests on the resulting entity object references.
________________________________________________________________________________

Evan Ireland              Sybase EAServer Engineering        [EMAIL PROTECTED]
                            Wellington, New Zealand               +64 4 934-5856

===========================================================================
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".

Reply via email to