The Artima Developer Community
Sponsored Link

Java Community News
Ehcache 1.2 Released

2 replies on 1 page. Most recent reply: May 3, 2006 2:54 PM by Ivan Lazarte

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Frank Sommers

Posts: 2642
Nickname: fsommers
Registered: Jan, 2002

Ehcache 1.2 Released Posted: Apr 28, 2006 9:04 AM
Reply to this message Reply
Summary
Ehcache is a general-purpose Java cache used mainly in J2EE applications and light-weight containers. Ehcache provides memory and disk stores, and version 1.2 offers distributed caching capabilities as well, with multicast-based cache discovery and the ability to plug custom RMI connections into the replication and update mechanism.
Advertisement
Ehcache 1.2 offers many new features, including:
  • Distributed caching. The default implementation supports cache discovery via multicast or manual configuration. Updates are delivered either asynchronously or synchronously via custom RMI connections. Additional discovery or delivery schemes can be plugged in by third parties.

  • Two new eviction policies: Less Frequently Used (LFU) and First In First Out (FIFO).

  • Multiple CacheManagers per virtual machine.

  • ehcache 1.1 was the first open source Java cache to introduce persistent storage of cache data on disk on shutdown. That makes cached data accessible at the next application start. With 1.2, the flushing of entries to disk can be executed with a cache.flush() method whenever required, making it easier to use ehcache. The combination of memory and disk cache stores has proven quite scalable, since the largest ehcache installations use memory and disk stores in the gigabyte range. According to the project documentation, ehcache is tuned for these large sizes.

  • Significant (up to 7 fold) DiskStore performance increases.

  • API for Objects in addition to Serializable. Non-serializable Objects can use all parts of ehcache except for DiskStore and replication.

ehcache 1.2 is fully backwards compatible with the 1.1 version, and a new Hibernate cache provider allows Hibernate 3.2 applications to take advantage of the new ehcache features.

With so many excellent caching choices, what are your cache preferences for J2EE apps?


Jim Shi

Posts: 7
Nickname: jim2000
Registered: May, 2005

Re: Ehcache 1.2 Released Posted: Apr 28, 2006 9:18 AM
Reply to this message Reply
What are advantages or disadvanges compared with, say, JBOSS
TreeCache?

Ivan Lazarte

Posts: 91
Nickname: ilazarte
Registered: Mar, 2006

Re: Ehcache 1.2 Released Posted: May 3, 2006 2:54 PM
Reply to this message Reply
Never used the JBoss cache, but I was up and running with EhCache ready for production in about 2-3 hours. It's a good sign when you aren't even curious about the competition.

Flat View: This topic has 2 replies on 1 page
Topic: Ehcache 1.2 Released Previous Topic   Next Topic Topic: Versioning Web Services

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use