[infinispan-dev] Annotations

Olaf Bergner olaf.bergner at gmx.de
Fri Mar 18 17:27:56 EDT 2011


Am 17.03.11 11:55, schrieb Manik Surtani:
> In some ways related to the @Marshallable annotation thread, but in 
> many ways not, I was having a look at:
>
> http://code.google.com/p/ehcache-spring-annotations/
>
> I think we need to do something in this space, to make life easier for 
> developers to consume distributed caches.  As such, what I'm thinking 
> of is:
>
> * Spring annotations for Infinispan - Olaf, will we get this for free 
> with your work on the Spring cache adapter for Infinispan?  If so, we 
> should talk about this (blog, wiki, etc)
This is my current understanding of how Spring Cache is supposed to 
work. The way I see it is that org.springframework.cache.Cache and 
org.springframework.cache.CacheManager form an SPI that may be 
implemented by different cache providers. A user tells Spring via his 
application context which cache provider to use and Spring will merrily 
delegate all crosscutting caching concerns as defined through its 
caching annotations to that cache provider.

Regarding the suggestion to talk about this I have added a comment to 
that effect to ISPN-961 lest I forget about it.
> * SEAM annotations.  Pete did a POC some while back, maybe we need to 
> formalise this?
>
> Other thoughts?
>
> Cheers
> Manik
> --
> Manik Surtani
> manik at jboss.org <mailto:manik at jboss.org>
> twitter.com/maniksurtani <http://twitter.com/maniksurtani>
>
> Lead, Infinispan
> http://www.infinispan.org
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20110318/48ac43cc/attachment.html 


More information about the infinispan-dev mailing list