Results 1 to 3 of 3

Thread: ROO and @Cache

  1. #1
    Join Date
    May 2008
    Posts
    227

    Default ROO and @Cache

    Hi
    Spring 3.1 will have simple caching approach using @Cache included with the core container
    the question is: when will Roo utilize this feature? is it planed or shall i file a jira for it?
    second question:what is he current caching approach with roo?

    Thanks
    Joe

  2. #2
    Join Date
    Dec 2007
    Location
    Stockholm, Sweden
    Posts
    190

    Default

    Cache abstractions are part of Spring 3.1 and it has not gone GA. I think it would be a good idea to wait for it to stabilise first (but the Roo team knows best)

    I think moving to Spring 3.1 is a given when it is good to go.

    I have had some luck with http://code.google.com/p/ehcache-spring-annotations/ in Roo projects though.
    Last edited by hatim; Mar 23rd, 2011 at 02:42 AM. Reason: url
    Shahzada Hatim
    @geoaxis/twitter
    http://hatimonline.com

  3. #3
    Join Date
    Jun 2010
    Posts
    440

    Default

    @fawzyj


    You don't need it at all for typical Spring Roo project...

    Roo is JPA-based so it already has 2 cache levels enabled.

    If you want to use @Cache you will have to do what is described at http://www.jframeworks.com/2011/03/s...e-and-orm.html. Which in my opinion would be counterproductive.

    It might be specific situations that both could coexist in a particular project.

    THx
    jD

Posting Permissions

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