> Ian McCallion wrote:
> However if the database is accessed both via the cache and via other
> mechanisms (eg there could be a Client-server SQL application also
> accessing the database, or there could be two systems sharing the
> database,
> each having its own cache) then CMP is necessary because the container
> needs to know if the data in the cache is current and this requires the
> container to know the relationship between cached objects and database
> records.
>
[Chip Wilson]
Aren't you implying some level of coupling between the persistent store and
the container?  It seems that this would only work if the persistent store
was aware of the container's cache and notified the container when the
underlying data changed, so that the cache could be flushed.  How would this
work in a CMP container using JDBC with an arbitrary relational dB?

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