Wednesday, April 25, 2007

Tutorial avec une bonne implémentation de Ehcache avec Spring via les concepts AOP


Tutorials :
Add Object Caching Using Spring, AOP, and Ehcache :

Add Object Caching Using Spring, AOP, and Ehcache

Imagine, if you will, that you have been given an application requirement to access data on an external system on-demand. The aforementioned data changes every 24 hours when the system, is updated. Your users need access to view this data. However, you don't think it's a good idea to always go to the external system to get data that isn't changing, as it is an expensive network operation.

There's a clean solution to this problem that can sit on-top of an already-designed, interface-driven system, minimizing changes. Caching is a cross-cutting aspect that should not be baked into any code-base if you subscribe to the "do one thing and do it well" ethos.

This article walks you through the implementation so that you may effectively add object caching within your Web or desktop applications.