Hello,

I would like to know how "expensive" an extended application scoped persistence 
context is.

I.e. I have a menu consisting out of 1000+ elements that I need for every 
request. Therefore I would like to cache it - naturally in the application 
scope.
Now, instead of reading the whole menu on server startup, i thought about using 
an extended persistence context so already loaded stuff is reused and new stuff 
gets loaded from the DB (less work than manually loading the whole menu data in 
some structure).

Is this bad practice or a good idea ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012483
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to