> >Which EJB-server does this? I would consider this to be buggy behaviour.
>> This behaviour is exhibited by WebLogic Server 4.5.1 but I don't agree
>> it is necessarily a bug as the ejb spec does not require the server
>> to maintain the association between ejb object and the bean instance
>> other than for the duration of a transaction. At least, that's my
>> understanding.
>It is not "a bug" perhaps, but it would be rather dumb.
It's not that dumb. The container cannot afford to keep every
bean instance that it creates, active. It's easy keeping the
ejb objects, they do not have state.
>And no, WLS 4.5.1 does not behave like this.
I can produce the above behaviour with WLS 4.5.1 by making
consecutive calls to findByPrimaryKey with different keys
in separate transactions. The same bean instance will be
associated with different primary keys (i.e. ejb objects)
/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".
===========================================================================
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".