OSCache by OpenSymphony

OSCache by OpenSymphony is a caching solution for Web applications. OSCache includes a JSP tag library and a collection of classes to perform dynamic caching of JSP output, servlet output or even arbitrary objects.

OSCache supports both memory and disk based caches. Disk based allows serving content even when the backend (database) is unavailable. Servlet filter component can be used to cache binary content generated by server.

OSCache is compliant with servlet 2.3 and JSP 1.2 standards. The caching is i18n aware and supports all encodings.

JBoss Cache

JBoss cache is a Java based open source caching solution intended to cache frequently used Java objects. This helps improving the performance of high volume e-business application.

JBoss cache is transactional and all cache operations can be made using a transaction manager. Also JBoss cache instances can be distributed in a single JVM or across JVMs (automatic replication). JBoss cache can be initialized using a configuration XML file or programmatically.

JBoss cache consists of two components - a generic cache using a tree structure and a POJO cache for true object caching. Full JBoss cache support is available in JBoss application server 4.x onwards.

EHCache - ultra fast caching framework

EhCache LogoEHCache is a caching framework which is distributed. It is lightweight and can be used in J2EE applications. It is highly scalable and is standards compliant. EHCache is used in various Java frameworks such as Alfresco, Cocoon,Hibernate,Spring,JPOX, Jofti, Acegi, Kosmos, Tudu Lists and Lutece.

Key EHCache features are,

  • Extremely fast and lightweight with a small footprint
  • Highly scalable into gigabytes of storage (memory/disk storage)
  • Standards compliant - full implementation of JSR 107 Jcache API
  • Extensible using listener API
  • JMX enabled and supports distributed caching
  • Well tested and reliable code