I am trying to learn caching in Java using APIs such as jcs(preferred)/ehcache.
However, I haven't been able to figure out how to store results from DB queries into the caches.
Does any one here have a sample code snippet or project that you can share and help me out. I am looking for JCS examples but Ehcache will also be adequate.
Thanks in advance.
Any sufficiently advanced technology will be used as a cat toy. And this tiny ad contains a very small cat:
global solutions you can do in your home or backyard