On Thu, Nov 20, 2003 at 05:33:48PM +0200, Alexey Loubyansky wrote:
> >>From what I can learn on the web it seems that a read-mostly pattern is 
> >>where
> >you have 2 copies of a bean, one read-only and the other read-write. It 
> >seems
> >that you need to write at a specific interval. Is this possible?
> 
> What do you mean by 'write'? UPDATEs occur at sync time following the 
> spec. At these times, the caches of the corresponding read-only beans 
> should be invalidated.

So are you saying that when you modify a field of a bean, it will not
immediately be written to database, but written into cache and only written to
database when the cache syncs with the database?

If so, will it mean that there is a chance of dataloss if the container should
go down?


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to