RE: Caching custom objects in Liferay.

Amit Sharma, modified 13 Years ago. New Member Posts: 6 Join Date: 8/29/12 Recent Posts
Hi All.

As we know that Liferay uses ehcache to store objects/data in cache. Is there any sample program that shows how to store custom objects in ehcache?

Thanks,
Amit Sharma
thumbnail
David H Nebinger, modified 13 Years ago. Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts
Any entity that you create using Service Builder is automatically cacheable unless you disable it on a per-entity basis.

Is this what you're looking to cache, or was there something else?
Amit Sharma, modified 13 Years ago. New Member Posts: 6 Join Date: 8/29/12 Recent Posts
I am looking for caching some other objects not database entities...