Im having some entity beans (CMP) that only change seldom and if, directly 
through database updates when JBoss is down. They are read-only beans, e.g. the 
countries in which a customer can live. The country entity then needs to be set 
on new orders with CMR.

My problem is that e.g. a Country-bean gets locked when set on new orders via 
CMR, even with read-only methods and read-only bean and a 
SimpleReadWriteEJBLock for that matter.

My solution would be to have a Cache Invalidation container with NoLock policy.

The Instance Per Transaction container could also be used but would create to 
much load on the DB, due to loading the read-only beans all the time.

Any comments?

-Jesper

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to