U r referring to some kind of caching, dont u. 
Unfortunately a cache is not part of the ejb30 spec, but u can use the 
hibernate l2 cache. It keeps your entitybeans in memory, and keeps them in sync 
with the db. the drawback is, that u have to use hibernate annotations with 
your entity beans, which i personally dislike.

--> hint: jboss-entity-cache

dont ask me, is transient field would survive caching, u have to try that.

but to answer the first question, if u dont use l2 caching, yes it will be 
fetched every time.


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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to