filmov
tv
How to Cache database result using Spring Cache using Eclipse

Показать описание
How to use Spring cache using Eclipse
1. Open Eclipse.
2. Create a simple project having database connection. I have already created it.
3. Now, Apply Cacheable on the public methods of the layer(i have service layer).
4. Enable caching in Spring Configuration file.
5. Test code.
6. Done.
Thank You :)
1. Open Eclipse.
2. Create a simple project having database connection. I have already created it.
3. Now, Apply Cacheable on the public methods of the layer(i have service layer).
4. Enable caching in Spring Configuration file.
5. Test code.
6. Done.
Thank You :)