Results 1 to 4 of 4

Thread: Best AOP Cache integration with Spring 3.X

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Posts
    27

    Default Best AOP Cache integration with Spring 3.X

    I've been playing with ehcache and it's springmodules but it looks like it's only for Spring 2.5.X. Some have been saying that springmodules will go away. Of course, I could create my own AOP that wraps around ehcache but... I'm pretty damn sure that there's other cache framework that integrates with Spring very well. Any tips?

  2. #2
    Join Date
    Jun 2006
    Location
    SF Bay Area, California
    Posts
    524

    Default

    Unfortunately, there isn't a portfolio project that supports caching using AOP. In my book, I present (several variations) of a solution that you may use as a starting point (source code is freely downloadable and is under Apache 2.0 license). Link to it is in my signature.

    -Ramnivas
    Ramnivas Laddad (Follow me on Twitter)
    AspectJ in Action: Enterprise AOP with Spring Applications (2nd edition). Now available!

  3. #3
    Join Date
    Dec 2009
    Posts
    5

    Default

    i posted a similar question here, so i thought i'd link through to it in case any good replies appear.

  4. #4

    Default

    Take a look at http://code.google.com/p/ehcache-spring-annotations/

    It works very much like Spring's @Transactional support, is very light-weight and quite configurable. We just released 1.1 with some neat new features. If you get stuck or have any questions please ask on our email list!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •