0

I need to use cache solution in my project.

I've used jcs and looks pretty good, but I read that its library is based on jdk1.3 spec.

Ehcache looks another good choice too.

Which library should I use, apache jcs, ehcache or other?

1
  • You should ad more details about what you project needs cache for and why you think the libraries you have looked at are good or bad. Other wise, the question will be closed. Commented Sep 28, 2011 at 20:05

2 Answers 2

1

I've used EhCache successfully in the past. Very easy to configure and use, provide good performance and easy ways to monitor the content of your cache.

Without telling us more about what exactly you want to cache, it's difficult to give more details.

You could also consider using some O/RM solution (Hibernate comes to mind) if you need caching between your Java domain objects and your database schema.

Sign up to request clarification or add additional context in comments.

Comments

0

If you don't need a distributed cache, just a simple in-memory cache, Google Guava providers cache-semantics Map implementations.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.