Archive for 2009

    Deadliest Cache?

    October 26, 2009 4:54 AM

    I recently looked into third-party caching solutions for use in a CMS application. For a few previous projects, I’d written a simple map-backed cache to hold objects such as search results and expensive lookups. This was simple enough to implement, but once I started eating up hours adding timeouts, changing map implementations, and adding multiple caches, I decided I should stop trying to reinvent the wheel and instead go with the time-honored tradition of using someone else’s.

    posted by Mark Daugherty

    Minimizing JSP scriptlet usage in CQ5 components

    June 8, 2009 4:42 AM

    Still using scriptlets in your CQ5 JSPs? CQ5 components tend to rely heavily on JSP scriplet code, despite the availability of tag libraries to handle the logic associated with rendering a component.  I wanted to provide a quick example of how to replace a block of scriptlet code in a JSP by using a Java bean class in conjunction with JSP tags.

    posted by Mark Daugherty
Top