-
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
-
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.
-
@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