Hi 

I'd like to have a commit-option which is something like commit option A, meaning not 
fetching from db everytime, assuming its own copy to be current, unless I manually set 
the beans cache to be invalid.  So, basically everything will work as commit option A 
with an extra check if the bean has been marked invalid, in which case it will be 
refetched from database.  It'll be the responsibility of the program which is updating 
the database (not through the bean) to make sure it calls invalidate of correspoding 
bean (the bean will expose an interface for just this task & which does not involve a 
whole look up or waking up of the bean. The bean will only wake up when someone calls 
up to read it but will find itself invalidated). 

A little study makes me think there is no such option. Commit Option D comes the 
closest to it, but doesn't provide exactly what I am looking for. 

May be I am missing something important. Is it possible to do such a thing with JBoss 
(even if JBoss-specific)? If not, is there a logical reason for not having it? or is 
it just a not-so-required requirement :)

Thanx and Regards
--- Pooja.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829145#3829145

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829145


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to