I don't know about ejb 1.1, but it is true for ejb 2.0. Container BMP contract
per ejb 2 Final Draft spec Sec. 12.3.2:

"The implementation of each find<METHOD>(...) method invokes a matching
ejbFind<METHOD>(...) method."

I would hazard a guess that this requirement is carried forward from 1.1.

Oren Dean wrote:

> In case of a BMP entity bean (1.1), must the container invoke the
> ejbFindByPrimaryKey method evey time the client invokes findByPrimaryKey on
> the home object, or can it skip it if the bean is already in its cache?
>
> The reason I'm asking is that it occurred to me that weblogic 5.1 does this
> optimization, but I couldn't find anything on the spec. that specifies
> whether it is allowed or not.
>
> Oren
>
> ===========================================================================
> 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".

--
Fred Loney
Spirited Software, Inc.
[EMAIL PROTECTED]

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