Oct 30th, 2012, 10:21 PM
Caching Data in Spring MVC
Im planning to implement a caching mechanism in my current spring MVC application. Does anyone know how to implement this??
Scenario is, I have a lookup table which the data is reusable to many pages. So my objective is to create a cache object (one time retrieval of data) that can be used acrossed pages.
Oct 31st, 2012, 01:49 AM
Don't invent your own... Please don't...
If you use an ORM tool use Level2 caching else use springs caching abstraction and simply cache the result of the method call to the backend service.
Oct 31st, 2012, 01:52 AM
Do you have a dlcumentation on how to implement this? Spring Caching Abstraction. Thanks
Oct 31st, 2012, 02:15 AM
The spring framework reference guide...