Showing posts with label aop. Show all posts
Showing posts with label aop. Show all posts

Sunday, December 19, 2004

Caching the result of methods using Spring and EHCache

I published a new article on Spring Confluence Wiki that shows how to use Spring Integration for EHCache (since Spring 1.1.1).

The article presents a Spring Interceptor that caches methods results based on method name and arguments values. Of course the interceptor is configured declaratively using Spring IoC.

Trapping Exceptions in Spring Web

Spring Framework HandlerExceptionResolver allows to build Exception Handlers that can be configured to trap exceptions and return a ModelAndView. They work in a simillar way to Struts ExceptionHandlers.

I posted a sample on Spring Framework Forums that explains how to build and configure ExceptionHandlers in Spring.

read more...