Kwa Kil On Swa

Thursday, November 16, 2006

appfuse libraries

  • oscache - made for caching snippets of jsp - half enabled in appfuse (need to uncomment cacheFilter filter-mapping), but not used anyway apart from the flush cache page . Simple example
    • <cache:cache key="foobar" scope="session">
      <%= myBean.getTitle() %>
      </cache:cache>
  • ehcache- made for caching java objects - enabled in appfuse, but not used (I think!). I think it can generally be used more easily with hibernate, although it can be used as a general purpose cache. There is a spring bean called "userCache" that can be used to access ehcache functionality. Slightly annoying is each time you start tomcat you get a new empty directory in C:\Documents and Settings\azzoti\Local Settings\Temp c called for example ehcache_auto_created_1161994081609 etc.
  • ibatis - has caching

0 Comments:

Post a Comment

<< Home