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.
I suggest huckleberry pie. But the only thing on the gluten free menu is this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!