Installing Ehcache for General-Purpose Caching
Beginning with Ehcache 1.7.1, Ehcache depends on SLF4J (
http://www.slf4j.org) for logging. SLF4J is a logging framework with a choice of concrete logging implementations. For configuration details, see “Logging” in the
Ehcache Operations Guide.
2. Use Java 1.5 or 1.6.
3. Place the Ehcache jar into your classpath.
4. Configure ehcache.xml and place it in your classpath. For additional information about the ehcache.xml file, see “XML Configuration” in the Ehcache Configuration Guide.
5. Optionally, configure an appropriate logging level, as described in “Logging” in the Ehcache Operations Guide.
6. To get started, see the Ehcache Developer Guide.