Use of Strategy: read only in Cache Mappig by R4R Team

If we want to do on own application that need to read only but we can not modify, instance of a persistent class. A read-only cache can be used for this type of implementation to full fill the requirement. This is the simplest and optimal performing strategy. It is even safe for use in a cluster.

<class name="eg.Immutable" mutable="false">
    <cache usage="read-only"/>
Leave a Comment:
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!