Think we dont have it yet but @CacheResult does it very well - tested and
approoved.

Ps: jcs will soon have a web extension allowing to cache the response with
no need to call rest endpoint itself anymore :)
Le 17 août 2015 08:41, "Steve Goldsmith" <[email protected]> a écrit :

> Ahhhh, got you, is there a JCache exmple that works good with TomEE? I'm
> not using JPA, I want to cache DTOs that are created from SOAP and REST
> calls.
>
> On Mon, Aug 17, 2015 at 11:36 AM, Romain Manni-Bucau <
> [email protected]>
> wrote:
>
> > ObjectCache is not jcache, it is a tomitribe extension.
> >
> > Side note: api is here already, no need to add it in tomee plus.
> > Le 17 août 2015 08:09, "Steve Goldsmith" <[email protected]> a écrit :
> >
> > > @ObjectCache not found after adding (see
> > >
> > >
> >
> http://www.tomitribe.com/blog/2015/07/apache-tomee-arquillian-jcache-cdi-and-hazelcast-what-more-could-you-want
> > > ):
> > >
> > >         <dependency>
> > >             <groupId>javax.cache</groupId>
> > >             <artifactId>cache-api</artifactId>
> > >             <version>1.0.0</version>
> > >         </dependency>
> > >         <dependency>
> > >             <groupId>com.hazelcast</groupId>
> > >             <artifactId>hazelcast-all</artifactId>
> > >             <version>3.5.1</version>
> > >         </dependency>
> > >
> > > On Mon, Aug 17, 2015 at 10:20 AM, Romain Manni-Bucau <
> > > [email protected]>
> > > wrote:
> > >
> > > > yes but IIRC you can also provider your own in your app - exactly
> like
> > > JPA.
> > > >
> > > >
> > > > Romain Manni-Bucau
> > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > <http://rmannibucau.wordpress.com> | Github <
> > > > https://github.com/rmannibucau> |
> > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > > <http://www.tomitribe.com>
> > > >
> > > > 2015-08-17 7:17 GMT-07:00 Steve Goldsmith <[email protected]>:
> > > >
> > > > > No, I just want to use an EE solution instead of EHCache. Do you
> use
> > > > Apache
> > > > > JCS?
> > > > >
> > > > > On Mon, Aug 17, 2015 at 10:15 AM, Romain Manni-Bucau <
> > > > > [email protected]>
> > > > > wrote:
> > > > >
> > > > > > Hi
> > > > > >
> > > > > > Yes - are you looking for sometjing in particular?
> > > > > > Le 17 août 2015 07:12, "sgjava" <[email protected]> a écrit :
> > > > > >
> > > > > > > Is JSR-107, JCache currently part of TomEE 7.0.0 SNAPSHOT? If
> so,
> > > is
> > > > it
> > > > > > > stable?
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > View this message in context:
> > > > > > >
> > > > >
> > >
> http://tomee-openejb.979440.n4.nabble.com/JSR-107-JCache-tp4675910.html
> > > > > > > Sent from the TomEE Users mailing list archive at Nabble.com.
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Steven P. Goldsmith
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Steven P. Goldsmith
> > >
> >
>
>
>
> --
> Steven P. Goldsmith
>

Reply via email to