Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

Ehcache

Free#16 of 27 in Caching Software

Ehcache: A flexible self-hosted cache library for Java applications and framework-based stacks. Ranked #16 of 27 in Caching Software by our editors (7.7/10); pricing: Free plan; best for java applications needing persistent cache tiers.

7.7/10Editor score
Ehcache7.7 Visit Ehcache

At a glance

  • Editor score
    7.7 / 10
  • Pricing
    Free plan
  • Best for
    Java applications needing persistent cache tiers
  • Free plan
    Yes
  • Paid from
    Free
  • Deployment
    Self_hosted
  • Facts checked
    21 Sep 2026
Ehcache screenshot
  • Where it wins

    • Heap, off-heap, disk, and three-tier cache configurations
    • JCache compatibility with Spring Caching and Hibernate integration
    • Write-through, write-behind, expiry, eviction, and clustered caching
  • Where it doesn't

    • Primarily focused on Java application caching
    • Self-hosted deployment requires application integration and operations
    • Clustered caching depends on Terracotta-based capabilities

Our verdict on Ehcache

Ehcache is an open-source Java caching library for application data, database results, and web pages. It is designed for teams building or maintaining Java applications that need to reduce database load, improve application performance, or add cache persistence. The type-safe Java caching API supports direct integration, while JCache compatibility provides a standard API option. Ehcache is self-hosted, available through Maven Central and project downloads, and distributed under the Apache 2.0 license.

Its strongest capability is storage flexibility. Applications can use heap and off-heap tiers, persistent disk storage, or three-tier cache configurations. Cache expiry and eviction settings support control over how entries are managed, while write-through and write-behind cache writers support data-access patterns that connect caching with underlying storage. Terracotta-based clustered caching adds a path for clustered deployments, and the category specifications include data persistence and high availability. These options make Ehcache suitable when a cache needs to be more than a short-lived in-memory layer.

The integration ecosystem is centered on Java frameworks and standards rather than broad cross-platform use. JCache (JSR-107), Spring Caching, Hibernate, and Java EE Servlet integrations can help fit caching into established application architectures. That focus is an advantage for Java teams already using these technologies, but it also defines the product's limits: it is primarily a Java application library, not a general-purpose cache service for varied languages or managed environments. Choose Ehcache when self-hosted control, persistent tiers, and Java integration matter. Consider a different caching approach when the requirement is a platform-neutral service or a cache managed outside the application stack.

Your product? Our editors can test Ehcache in depth and publish a review, labelled as paid · from $149/mo →

Ehcache pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on ehcache.org

Ehcache fact sheet

Free planYes
Paid fromFree
DeploymentSelf_hosted
Cache targetsapplication data, database results, web pages
Edge cachingNot verified
Data persistenceYes
High availabilityYes
Supported cache enginesEhcache, JCache (JSR-107)
DeploymentSelf-hosted
SupportCommunity, Docs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations4 integrations: JCache (JSR-107), Spring Caching, Hibernate, Java EE Servlet
PricingFree plan
Websiteehcache.org
Facts checked21 Sep 2026

Ehcache integrations

Ehcache lists 4 integrations on its own site.

  • JCache (JSR-107)
  • Spring Caching
  • Hibernate
  • Java EE Servlet

Alternatives to Ehcache

See all Ehcache alternatives →

Used Ehcache? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Ehcache for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — Ehcache 7.7/10

Ehcache is listed in our Caching Software directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/ehcache/"><img src="https://www.itechguides.com/best/badge/ehcache.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update