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 ...

Get Instant Effective Caching with Ehcache now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.