O'Reilly logo

Instant Effective Caching with Ehcache by Daniel Wind

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Out-of-process distributed caching (Intermediate)

In this recipe, we will cover the following topics:

  • What out-of-process distributed caching is and why it is useful
  • Setting up a RESTful cache server using Ehcache
  • We will examine how to set up out-of-process distributed caching with the Ehcache cache server. This utility is provided by the Terracotta folks to ease the integration process with external systems via web services, such as SOAP and RESTful.

Getting ready

Out-of-process caching is a way of distributing your caching needs in a different JVM and/or infrastructure. Ehcache provides a convenient deployable WAR file that works on most web containers/standalone servers whose mission is to provide an easy API interface to distributed cache. At ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required