> JBoss keeps a cache of entity bean instances for quick access, so they
> don't need to be loaded from the DB.  However, every time a client
> (including other beans) uses "findByPrimaryKey", my
> "ejbFindByPrimaryKey" method is called, even though the bean instance is
> already in JBoss' cache.

Doesn't it have to do it this way in a distributed world since it's possible
the cache is stale?  I'm not sure about the EJB spec on this, but the data
in a bean could be modified by other beans or programs external to the
container.

David



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to