This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
2. created ehcache.xml with default properties and few class properties.
3. Added <cache usage="read-only"/> in hibernate properties file and the sets.
When I run my application I see that EHCache is assigned properly, however I cannot see the affects, the speed of the execution of application is same and when i check the cacheHitCount it is 0.
It seems like I am missing something. Can anybody guide me the right procedure? Is there any example showing the correct implementation or are there any junittest cases to test the working functionaltiy.