ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Pavlov <gurind...@gmail.com>
Subject Re: integration with spring boot
Date Fri, 06 Nov 2015 15:56:13 GMT
Spring Boot is framework for simplify start your development. It contains
auto configurations for many technologies such as JMX,JMS and many others.
It would be nice,  if you realize Ignite mechanisms and annotations like
@EnableIngnite @EnableIgniteFileSystem and others.

чт, 5 нояб. 2015 г. в 22:36, Andrey Gura <agura@gridgain.com>:

> We can do more. Spring.io allow contribute own guidelines. See
> https://github.com/spring-guides/getting-started-guides/wiki
>
> On Thu, Nov 5, 2015 at 10:12 PM, Dmitriy Setrakyan <dsetrakyan@apache.org>
> wrote:
>
> > I still think that integration with spring-boot and spring caching is
> part
> > of the same project. Ignite should be integrating with spring-boot to
> > deliver caching functionality to spring users.
> >
> > I just want to get another confirmation. We are saying that all the
> > annotations described in Spring caching are supported by Ignite, right?
> In
> > that case, can we crate an example using all these annotations and add it
> > to the set of Ignite examples shipped with the project?
> >
> > I also think we need to post a question on StackOverflow with spring-boot
> > tag and ask them how to add Ignite configuration to the spring-booth
> search
> > path for caching providers. I don’t mind doing this, but I would like to
> > show a GitHub link to some example of using Spring Caching with Ignite.
> >
> > D.
> >
> > On Thu, Nov 5, 2015 at 10:23 AM, Valentin Kulichenko <
> > valentin.kulichenko@gmail.com> wrote:
> >
> > > See my comments inline.
> > >
> > > Also note that we have a documentation page for this feature:
> > > https://apacheignite.readme.io/docs/spring-caching
> > >
> > > On Thu, Nov 5, 2015 at 10:10 AM, Andrey Gura <agura@gridgain.com>
> wrote:
> > >
> > > > We should not support this annotations. All listed annotation
> > (excluding
> > > > @CacheConfig) allows user to manage caching behaviour (eg. eviction
> on
> > > > cache update) and doesn't affect CacheManager implementation.
> > > >
> > >
> > > I think it's better to say that implementing cache manager is enough to
> > > support all these annotations as well as any other functionality of
> > Spring
> > > Caching. So yes, we do support them.
> > >
> > >
> > > >
> > > > @CacheConfig just defines cache configuration that will be used for
> > > > particular Spring service.
> > > >
> > >
> > > This is right. This annotation should be processed only by Spring and
> > > allows, for example, to use custom cache manager implementation (e.g.,
> > > Ignite-based).
> > >
> > >
> > > >
> > > > On Thu, Nov 5, 2015 at 9:01 PM, Dmitriy Setrakyan <
> > dsetrakyan@apache.org
> > > >
> > > > wrote:
> > > >
> > > > > How about @CachePut, @Caching, @CacheConfig, and @CacheEvict
> > > annotations
> > > > > listed here:
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> http://docs.spring.io/spring/docs/4.2.0.RC1/spring-framework-reference/htmlsingle/#cache-annotations-put
> > > > >
> > > > > We support all these?
> > > > >
> > > > > D.
> > > > >
> > > > > On Thu, Nov 5, 2015 at 8:00 AM, Andrey Gura <agura@gridgain.com>
> > > wrote:
> > > > >
> > > > > > Oops, I didn't noticed.
> > > > > >
> > > > > > Ok, it means we already have this integration.
> > > > > >
> > > > > > On Thu, Nov 5, 2015 at 6:54 PM, Valentin Kulichenko <
> > > > > > valentin.kulichenko@gmail.com> wrote:
> > > > > >
> > > > > > > Andrey, we already have this. See SpringCacheManager class.
> > > > > > >
> > > > > > > -Val
> > > > > > >
> > > > > > > On Thursday, November 5, 2015, Andrey Gura <agura@gridgain.com
> >
> > > > wrote:
> > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > @Cacheable is not Spring Boot annotation. It's part
of
> > > > spring-context
> > > > > > > > module.
> > > > > > > >
> > > > > > > > If client want use @Cacheable annotation in Spring
based
> > project
> > > he
> > > > > > > should
> > > > > > > > configure cache manager in application context.
> > > > > > > >
> > > > > > > > Cache manager should implement
> > > > org.springframework.cache.CacheManager
> > > > > > > > interface. So we need implement it in order to provide
Ignite
> > > based
> > > > > > > caching
> > > > > > > > to Spring users.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Nov 5, 2015 at 8:32 AM, Dmitriy Setrakyan
<
> > > > > > dsetrakyan@apache.org
> > > > > > > > <javascript:;>>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Igniters,
> > > > > > > > >
> > > > > > > > > I am aware that Ignite supports Spring @Cacheable
> annotation.
> > > > Does
> > > > > it
> > > > > > > > mean
> > > > > > > > > that Ignite integrated with Spring boot?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://docs.spring.io/spring-boot/docs/1.3.0.M1/reference/html/boot-features-caching.html
> > > > > > > > >
> > > > > > > > > If not, we should definitely add such integration.
> > > > > > > > >
> > > > > > > > > D.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Andrey Gura
> > > > > > > > GridGain Systems, Inc.
> > > > > > > > www.gridgain.com
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Andrey Gura
> > > > > > GridGain Systems, Inc.
> > > > > > www.gridgain.com
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Andrey Gura
> > > > GridGain Systems, Inc.
> > > > www.gridgain.com
> > > >
> > >
> >
>
>
>
> --
> Andrey Gura
> GridGain Systems, Inc.
> www.gridgain.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message