You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by sgjava <sg...@gmail.com> on 2015/08/17 16:08:41 UTC
JSR-107, JCache
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.
Re: JSR-107, JCache
Posted by Jonathan Gallimore <jg...@tomitribe.com>.
I haven't personally tested it with others, but that code should be
portable - you should be able to drop in an alternative provider by just
supplying a different jar. If you give it another go with an alternative
provider please let me know if you run into issues - I'll be happy to help
resolve any that crop up.
Regards
Jon
On Tue, Aug 18, 2015 at 9:58 PM, Steve Goldsmith <sg...@gmail.com> wrote:
> Will this work with other caching providers?
>
> On Tue, Aug 18, 2015 at 4:37 PM, Jonathan Gallimore <
> jgallimore@tomitribe.com> wrote:
>
> > Hi Steve
> >
> > The source for the webinar is here:
> > https://github.com/tomitribe/moviefun-jcache - master branch is "before"
> > and the jcache-hazelcast branch is the "after".
> >
> > Regards
> >
> > Jon
> >
> > On Tue, Aug 18, 2015 at 9:07 PM, Steve Goldsmith <sg...@gmail.com>
> wrote:
> >
> > > Is there source somewhere for this?
> > >
> > > On Tue, Aug 18, 2015 at 11:04 AM, Jonathan Gallimore <
> > > jgallimore@tomitribe.com> wrote:
> > >
> > > > Here's demo I did using Hazelcast, JCache and CDI:
> > > > https://www.youtube.com/watch?v=-8tam4Rbxv0&app=desktop, in case its
> > any
> > > > help.
> > > >
> > > > Regards
> > > >
> > > > Jon
> > > >
> > > > On Tue, Aug 18, 2015 at 3:56 PM, Howard W. Smith, Jr. <
> > > > smithh032772@gmail.com> wrote:
> > > >
> > > > > Steve,
> > > > >
> > > > > On Tue, Aug 18, 2015 at 10:38 AM, Steve Goldsmith <
> sgjava@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Are there any good examples? I'll promise to add it my test
> project
> > > on
> > > > > > Github, so others can benefit as well.
> > > > > >
> > > > >
> > > > > I like how you share code for others to benefit, and I love TomEE
> > (user
> > > > > list) just as well!
> > > > >
> > > > > I searched google for
> > > > >
> > > > > jcache tutorial java
> > > > >
> > > > > and found the following:
> > > > >
> > > > > https://cloud.google.com/appengine/docs/java/memcache/usingjcache
> > > > >
> > > > > https://dzone.com/articles/introduction-jcache-jsr-107
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> https://abhirockzz.wordpress.com/2015/02/09/sneak-peek-into-the-jcache-api-jsr-107/
> > > > >
> > > > > hope that helps.
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Jonathan Gallimore
> > > > http://twitter.com/jongallimore
> > > > http://www.tomitribe.com
> > > >
> > >
> > >
> > >
> > > --
> > > Steven P. Goldsmith
> > >
> >
> >
> >
> > --
> > Jonathan Gallimore
> > http://twitter.com/jongallimore
> > http://www.tomitribe.com
> >
>
>
>
> --
> Steven P. Goldsmith
>
--
Jonathan Gallimore
http://twitter.com/jongallimore
http://www.tomitribe.com
Re: JSR-107, JCache
Posted by Romain Manni-Bucau <rm...@gmail.com>.
jcs has a cdi module which is an alternative to RI one which is not bound
to jcs impl but is portable - works with hazelcast for instance.
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-18 13:58 GMT-07:00 Steve Goldsmith <sg...@gmail.com>:
> Will this work with other caching providers?
>
> On Tue, Aug 18, 2015 at 4:37 PM, Jonathan Gallimore <
> jgallimore@tomitribe.com> wrote:
>
> > Hi Steve
> >
> > The source for the webinar is here:
> > https://github.com/tomitribe/moviefun-jcache - master branch is "before"
> > and the jcache-hazelcast branch is the "after".
> >
> > Regards
> >
> > Jon
> >
> > On Tue, Aug 18, 2015 at 9:07 PM, Steve Goldsmith <sg...@gmail.com>
> wrote:
> >
> > > Is there source somewhere for this?
> > >
> > > On Tue, Aug 18, 2015 at 11:04 AM, Jonathan Gallimore <
> > > jgallimore@tomitribe.com> wrote:
> > >
> > > > Here's demo I did using Hazelcast, JCache and CDI:
> > > > https://www.youtube.com/watch?v=-8tam4Rbxv0&app=desktop, in case its
> > any
> > > > help.
> > > >
> > > > Regards
> > > >
> > > > Jon
> > > >
> > > > On Tue, Aug 18, 2015 at 3:56 PM, Howard W. Smith, Jr. <
> > > > smithh032772@gmail.com> wrote:
> > > >
> > > > > Steve,
> > > > >
> > > > > On Tue, Aug 18, 2015 at 10:38 AM, Steve Goldsmith <
> sgjava@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Are there any good examples? I'll promise to add it my test
> project
> > > on
> > > > > > Github, so others can benefit as well.
> > > > > >
> > > > >
> > > > > I like how you share code for others to benefit, and I love TomEE
> > (user
> > > > > list) just as well!
> > > > >
> > > > > I searched google for
> > > > >
> > > > > jcache tutorial java
> > > > >
> > > > > and found the following:
> > > > >
> > > > > https://cloud.google.com/appengine/docs/java/memcache/usingjcache
> > > > >
> > > > > https://dzone.com/articles/introduction-jcache-jsr-107
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> https://abhirockzz.wordpress.com/2015/02/09/sneak-peek-into-the-jcache-api-jsr-107/
> > > > >
> > > > > hope that helps.
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Jonathan Gallimore
> > > > http://twitter.com/jongallimore
> > > > http://www.tomitribe.com
> > > >
> > >
> > >
> > >
> > > --
> > > Steven P. Goldsmith
> > >
> >
> >
> >
> > --
> > Jonathan Gallimore
> > http://twitter.com/jongallimore
> > http://www.tomitribe.com
> >
>
>
>
> --
> Steven P. Goldsmith
>
Re: JSR-107, JCache
Posted by Steve Goldsmith <sg...@gmail.com>.
Will this work with other caching providers?
On Tue, Aug 18, 2015 at 4:37 PM, Jonathan Gallimore <
jgallimore@tomitribe.com> wrote:
> Hi Steve
>
> The source for the webinar is here:
> https://github.com/tomitribe/moviefun-jcache - master branch is "before"
> and the jcache-hazelcast branch is the "after".
>
> Regards
>
> Jon
>
> On Tue, Aug 18, 2015 at 9:07 PM, Steve Goldsmith <sg...@gmail.com> wrote:
>
> > Is there source somewhere for this?
> >
> > On Tue, Aug 18, 2015 at 11:04 AM, Jonathan Gallimore <
> > jgallimore@tomitribe.com> wrote:
> >
> > > Here's demo I did using Hazelcast, JCache and CDI:
> > > https://www.youtube.com/watch?v=-8tam4Rbxv0&app=desktop, in case its
> any
> > > help.
> > >
> > > Regards
> > >
> > > Jon
> > >
> > > On Tue, Aug 18, 2015 at 3:56 PM, Howard W. Smith, Jr. <
> > > smithh032772@gmail.com> wrote:
> > >
> > > > Steve,
> > > >
> > > > On Tue, Aug 18, 2015 at 10:38 AM, Steve Goldsmith <sg...@gmail.com>
> > > > wrote:
> > > >
> > > > > Are there any good examples? I'll promise to add it my test project
> > on
> > > > > Github, so others can benefit as well.
> > > > >
> > > >
> > > > I like how you share code for others to benefit, and I love TomEE
> (user
> > > > list) just as well!
> > > >
> > > > I searched google for
> > > >
> > > > jcache tutorial java
> > > >
> > > > and found the following:
> > > >
> > > > https://cloud.google.com/appengine/docs/java/memcache/usingjcache
> > > >
> > > > https://dzone.com/articles/introduction-jcache-jsr-107
> > > >
> > > >
> > > >
> > >
> >
> https://abhirockzz.wordpress.com/2015/02/09/sneak-peek-into-the-jcache-api-jsr-107/
> > > >
> > > > hope that helps.
> > > >
> > >
> > >
> > >
> > > --
> > > Jonathan Gallimore
> > > http://twitter.com/jongallimore
> > > http://www.tomitribe.com
> > >
> >
> >
> >
> > --
> > Steven P. Goldsmith
> >
>
>
>
> --
> Jonathan Gallimore
> http://twitter.com/jongallimore
> http://www.tomitribe.com
>
--
Steven P. Goldsmith
Re: JSR-107, JCache
Posted by Jonathan Gallimore <jg...@tomitribe.com>.
Hi Steve
The source for the webinar is here:
https://github.com/tomitribe/moviefun-jcache - master branch is "before"
and the jcache-hazelcast branch is the "after".
Regards
Jon
On Tue, Aug 18, 2015 at 9:07 PM, Steve Goldsmith <sg...@gmail.com> wrote:
> Is there source somewhere for this?
>
> On Tue, Aug 18, 2015 at 11:04 AM, Jonathan Gallimore <
> jgallimore@tomitribe.com> wrote:
>
> > Here's demo I did using Hazelcast, JCache and CDI:
> > https://www.youtube.com/watch?v=-8tam4Rbxv0&app=desktop, in case its any
> > help.
> >
> > Regards
> >
> > Jon
> >
> > On Tue, Aug 18, 2015 at 3:56 PM, Howard W. Smith, Jr. <
> > smithh032772@gmail.com> wrote:
> >
> > > Steve,
> > >
> > > On Tue, Aug 18, 2015 at 10:38 AM, Steve Goldsmith <sg...@gmail.com>
> > > wrote:
> > >
> > > > Are there any good examples? I'll promise to add it my test project
> on
> > > > Github, so others can benefit as well.
> > > >
> > >
> > > I like how you share code for others to benefit, and I love TomEE (user
> > > list) just as well!
> > >
> > > I searched google for
> > >
> > > jcache tutorial java
> > >
> > > and found the following:
> > >
> > > https://cloud.google.com/appengine/docs/java/memcache/usingjcache
> > >
> > > https://dzone.com/articles/introduction-jcache-jsr-107
> > >
> > >
> > >
> >
> https://abhirockzz.wordpress.com/2015/02/09/sneak-peek-into-the-jcache-api-jsr-107/
> > >
> > > hope that helps.
> > >
> >
> >
> >
> > --
> > Jonathan Gallimore
> > http://twitter.com/jongallimore
> > http://www.tomitribe.com
> >
>
>
>
> --
> Steven P. Goldsmith
>
--
Jonathan Gallimore
http://twitter.com/jongallimore
http://www.tomitribe.com
Re: JSR-107, JCache
Posted by Steve Goldsmith <sg...@gmail.com>.
Is there source somewhere for this?
On Tue, Aug 18, 2015 at 11:04 AM, Jonathan Gallimore <
jgallimore@tomitribe.com> wrote:
> Here's demo I did using Hazelcast, JCache and CDI:
> https://www.youtube.com/watch?v=-8tam4Rbxv0&app=desktop, in case its any
> help.
>
> Regards
>
> Jon
>
> On Tue, Aug 18, 2015 at 3:56 PM, Howard W. Smith, Jr. <
> smithh032772@gmail.com> wrote:
>
> > Steve,
> >
> > On Tue, Aug 18, 2015 at 10:38 AM, Steve Goldsmith <sg...@gmail.com>
> > wrote:
> >
> > > Are there any good examples? I'll promise to add it my test project on
> > > Github, so others can benefit as well.
> > >
> >
> > I like how you share code for others to benefit, and I love TomEE (user
> > list) just as well!
> >
> > I searched google for
> >
> > jcache tutorial java
> >
> > and found the following:
> >
> > https://cloud.google.com/appengine/docs/java/memcache/usingjcache
> >
> > https://dzone.com/articles/introduction-jcache-jsr-107
> >
> >
> >
> https://abhirockzz.wordpress.com/2015/02/09/sneak-peek-into-the-jcache-api-jsr-107/
> >
> > hope that helps.
> >
>
>
>
> --
> Jonathan Gallimore
> http://twitter.com/jongallimore
> http://www.tomitribe.com
>
--
Steven P. Goldsmith
Re: JSR-107, JCache
Posted by Steve Goldsmith <sg...@gmail.com>.
After looking at your examples it's a bit more code than I though.
Currently I'm using EHCache the non-EE way, but the code is a lot simpler.
I have a common singleton bean create the cache:
// Create Ehcache cache manager
cacheManager = CacheManager.create(config.getString(
"cacheConfigFile"));
// Get the instance of "some-cache"
cache = cacheManager.getCache(config.getString("cacheName"));
Then is a simple matter of:
if (cache.get(accountId) != null) {
log.debug(String.format("Account ID in cache: %s", accountId));
retCustStbDto = (CustStbDto)
cache.get(accountId).getObjectValue();
} else {
Get the value to cache and cache...
}
Now you are sprinkling this if/then logic throughout which is a code smell,
but it's more concise. Most of the example JCache code out there is based
on older artifacts.
This looks interesting
https://github.com/ehcache/ehcache-jcache/tree/master/ehcache-jcache
On Tue, Aug 18, 2015 at 11:21 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> Wrote a bit on it as well: https://rmannibucau.wordpress.com/tag/jcache/
>
> I still have a draft about annotations, surely time to finish it ;)
> Le 18 août 2015 08:04, "Jonathan Gallimore" <jg...@tomitribe.com> a
> écrit :
>
> > Here's demo I did using Hazelcast, JCache and CDI:
> > https://www.youtube.com/watch?v=-8tam4Rbxv0&app=desktop, in case its any
> > help.
> >
> > Regards
> >
> > Jon
> >
> > On Tue, Aug 18, 2015 at 3:56 PM, Howard W. Smith, Jr. <
> > smithh032772@gmail.com> wrote:
> >
> > > Steve,
> > >
> > > On Tue, Aug 18, 2015 at 10:38 AM, Steve Goldsmith <sg...@gmail.com>
> > > wrote:
> > >
> > > > Are there any good examples? I'll promise to add it my test project
> on
> > > > Github, so others can benefit as well.
> > > >
> > >
> > > I like how you share code for others to benefit, and I love TomEE (user
> > > list) just as well!
> > >
> > > I searched google for
> > >
> > > jcache tutorial java
> > >
> > > and found the following:
> > >
> > > https://cloud.google.com/appengine/docs/java/memcache/usingjcache
> > >
> > > https://dzone.com/articles/introduction-jcache-jsr-107
> > >
> > >
> > >
> >
> https://abhirockzz.wordpress.com/2015/02/09/sneak-peek-into-the-jcache-api-jsr-107/
> > >
> > > hope that helps.
> > >
> >
> >
> >
> > --
> > Jonathan Gallimore
> > http://twitter.com/jongallimore
> > http://www.tomitribe.com
> >
>
--
Steven P. Goldsmith
Re: JSR-107, JCache
Posted by Steve Goldsmith <sg...@gmail.com>.
Perfect. I'll check it out. Maybe one day I'll have a complete kitchen sink
demo project :)
On Tue, Aug 18, 2015 at 11:21 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> Wrote a bit on it as well: https://rmannibucau.wordpress.com/tag/jcache/
>
> I still have a draft about annotations, surely time to finish it ;)
> Le 18 août 2015 08:04, "Jonathan Gallimore" <jg...@tomitribe.com> a
> écrit :
>
> > Here's demo I did using Hazelcast, JCache and CDI:
> > https://www.youtube.com/watch?v=-8tam4Rbxv0&app=desktop, in case its any
> > help.
> >
> > Regards
> >
> > Jon
> >
> > On Tue, Aug 18, 2015 at 3:56 PM, Howard W. Smith, Jr. <
> > smithh032772@gmail.com> wrote:
> >
> > > Steve,
> > >
> > > On Tue, Aug 18, 2015 at 10:38 AM, Steve Goldsmith <sg...@gmail.com>
> > > wrote:
> > >
> > > > Are there any good examples? I'll promise to add it my test project
> on
> > > > Github, so others can benefit as well.
> > > >
> > >
> > > I like how you share code for others to benefit, and I love TomEE (user
> > > list) just as well!
> > >
> > > I searched google for
> > >
> > > jcache tutorial java
> > >
> > > and found the following:
> > >
> > > https://cloud.google.com/appengine/docs/java/memcache/usingjcache
> > >
> > > https://dzone.com/articles/introduction-jcache-jsr-107
> > >
> > >
> > >
> >
> https://abhirockzz.wordpress.com/2015/02/09/sneak-peek-into-the-jcache-api-jsr-107/
> > >
> > > hope that helps.
> > >
> >
> >
> >
> > --
> > Jonathan Gallimore
> > http://twitter.com/jongallimore
> > http://www.tomitribe.com
> >
>
--
Steven P. Goldsmith
Re: JSR-107, JCache
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Wrote a bit on it as well: https://rmannibucau.wordpress.com/tag/jcache/
I still have a draft about annotations, surely time to finish it ;)
Le 18 août 2015 08:04, "Jonathan Gallimore" <jg...@tomitribe.com> a
écrit :
> Here's demo I did using Hazelcast, JCache and CDI:
> https://www.youtube.com/watch?v=-8tam4Rbxv0&app=desktop, in case its any
> help.
>
> Regards
>
> Jon
>
> On Tue, Aug 18, 2015 at 3:56 PM, Howard W. Smith, Jr. <
> smithh032772@gmail.com> wrote:
>
> > Steve,
> >
> > On Tue, Aug 18, 2015 at 10:38 AM, Steve Goldsmith <sg...@gmail.com>
> > wrote:
> >
> > > Are there any good examples? I'll promise to add it my test project on
> > > Github, so others can benefit as well.
> > >
> >
> > I like how you share code for others to benefit, and I love TomEE (user
> > list) just as well!
> >
> > I searched google for
> >
> > jcache tutorial java
> >
> > and found the following:
> >
> > https://cloud.google.com/appengine/docs/java/memcache/usingjcache
> >
> > https://dzone.com/articles/introduction-jcache-jsr-107
> >
> >
> >
> https://abhirockzz.wordpress.com/2015/02/09/sneak-peek-into-the-jcache-api-jsr-107/
> >
> > hope that helps.
> >
>
>
>
> --
> Jonathan Gallimore
> http://twitter.com/jongallimore
> http://www.tomitribe.com
>
Re: JSR-107, JCache
Posted by Jonathan Gallimore <jg...@tomitribe.com>.
Here's demo I did using Hazelcast, JCache and CDI:
https://www.youtube.com/watch?v=-8tam4Rbxv0&app=desktop, in case its any
help.
Regards
Jon
On Tue, Aug 18, 2015 at 3:56 PM, Howard W. Smith, Jr. <
smithh032772@gmail.com> wrote:
> Steve,
>
> On Tue, Aug 18, 2015 at 10:38 AM, Steve Goldsmith <sg...@gmail.com>
> wrote:
>
> > Are there any good examples? I'll promise to add it my test project on
> > Github, so others can benefit as well.
> >
>
> I like how you share code for others to benefit, and I love TomEE (user
> list) just as well!
>
> I searched google for
>
> jcache tutorial java
>
> and found the following:
>
> https://cloud.google.com/appengine/docs/java/memcache/usingjcache
>
> https://dzone.com/articles/introduction-jcache-jsr-107
>
>
> https://abhirockzz.wordpress.com/2015/02/09/sneak-peek-into-the-jcache-api-jsr-107/
>
> hope that helps.
>
--
Jonathan Gallimore
http://twitter.com/jongallimore
http://www.tomitribe.com
Re: JSR-107, JCache
Posted by "Howard W. Smith, Jr." <sm...@gmail.com>.
Steve,
On Tue, Aug 18, 2015 at 10:38 AM, Steve Goldsmith <sg...@gmail.com> wrote:
> Are there any good examples? I'll promise to add it my test project on
> Github, so others can benefit as well.
>
I like how you share code for others to benefit, and I love TomEE (user
list) just as well!
I searched google for
jcache tutorial java
and found the following:
https://cloud.google.com/appengine/docs/java/memcache/usingjcache
https://dzone.com/articles/introduction-jcache-jsr-107
https://abhirockzz.wordpress.com/2015/02/09/sneak-peek-into-the-jcache-api-jsr-107/
hope that helps.
Re: JSR-107, JCache
Posted by Steve Goldsmith <sg...@gmail.com>.
Are there any good examples? I'll promise to add it my test project on
Github, so others can benefit as well.
On Tue, Aug 18, 2015 at 10:18 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> Personally I used cdi integration quite successfully.
>
> Tested distribution and it works well but never used it in prod - but it is
> a design choice, there is no blocker to do so and I know some commons guys
> using it since years.
> Le 18 août 2015 07:03, "Steve Goldsmith" <sg...@gmail.com> a écrit :
>
> > Are you using distributed caching? Also, are you using annotations or
> > writing the code to handle caching?
> >
> > On Tue, Aug 18, 2015 at 5:28 AM, hwaastad <he...@waastad.org> wrote:
> >
> > > Hi,
> > > I dont have any available on github now, but in general:
> > > 1. initalizing custom cachemanager in a weblistener
> > > 2. adding necessary changes to a cache.ccf (check out Romains blog)
> > > 3. I produce all different caches using named qualifiers.
> > >
> > > I don't knpw about other impls, but JCS allows you to generate cache
> keys
> > > like <xxx>:<yyy>: etc
> > > so I can generate caches almost like a normalized database :-)
> > >
> > > br hw
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://tomee-openejb.979440.n4.nabble.com/JSR-107-JCache-tp4675910p4675926.html
> > > Sent from the TomEE Users mailing list archive at Nabble.com.
> > >
> >
> >
> >
> > --
> > Steven P. Goldsmith
> >
>
--
Steven P. Goldsmith
Re: JSR-107, JCache
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Personally I used cdi integration quite successfully.
Tested distribution and it works well but never used it in prod - but it is
a design choice, there is no blocker to do so and I know some commons guys
using it since years.
Le 18 août 2015 07:03, "Steve Goldsmith" <sg...@gmail.com> a écrit :
> Are you using distributed caching? Also, are you using annotations or
> writing the code to handle caching?
>
> On Tue, Aug 18, 2015 at 5:28 AM, hwaastad <he...@waastad.org> wrote:
>
> > Hi,
> > I dont have any available on github now, but in general:
> > 1. initalizing custom cachemanager in a weblistener
> > 2. adding necessary changes to a cache.ccf (check out Romains blog)
> > 3. I produce all different caches using named qualifiers.
> >
> > I don't knpw about other impls, but JCS allows you to generate cache keys
> > like <xxx>:<yyy>: etc
> > so I can generate caches almost like a normalized database :-)
> >
> > br hw
> >
> >
> >
> > --
> > View this message in context:
> >
> http://tomee-openejb.979440.n4.nabble.com/JSR-107-JCache-tp4675910p4675926.html
> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >
>
>
>
> --
> Steven P. Goldsmith
>
Re: JSR-107, JCache
Posted by Steve Goldsmith <sg...@gmail.com>.
Are you using distributed caching? Also, are you using annotations or
writing the code to handle caching?
On Tue, Aug 18, 2015 at 5:28 AM, hwaastad <he...@waastad.org> wrote:
> Hi,
> I dont have any available on github now, but in general:
> 1. initalizing custom cachemanager in a weblistener
> 2. adding necessary changes to a cache.ccf (check out Romains blog)
> 3. I produce all different caches using named qualifiers.
>
> I don't knpw about other impls, but JCS allows you to generate cache keys
> like <xxx>:<yyy>: etc
> so I can generate caches almost like a normalized database :-)
>
> br hw
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/JSR-107-JCache-tp4675910p4675926.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>
--
Steven P. Goldsmith
Re: JSR-107, JCache
Posted by hwaastad <he...@waastad.org>.
Hi,
I dont have any available on github now, but in general:
1. initalizing custom cachemanager in a weblistener
2. adding necessary changes to a cache.ccf (check out Romains blog)
3. I produce all different caches using named qualifiers.
I don't knpw about other impls, but JCS allows you to generate cache keys
like <xxx>:<yyy>: etc
so I can generate caches almost like a normalized database :-)
br hw
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/JSR-107-JCache-tp4675910p4675926.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: JSR-107, JCache
Posted by Steve Goldsmith <sg...@gmail.com>.
Do you have an example? It doesn't have to cache the response object via
annotations, but it needs to work with a distributed cache implementation.
On Mon, Aug 17, 2015 at 12:05 PM, Helge Waastad <he...@waastad.org> wrote:
> Hi,
> We've been using jcache/jcs in tomee 1.7.2 for some time now (caching
> dynamic web forms) and its working fine. I do like jcs hierachical
> structure.
>
> Br hw
>
> Sendt fra min iPhone
>
> > Den 17. aug. 2015 kl. 17:54 skrev Steve Goldsmith <sg...@gmail.com>:
> >
> > Cool, this is for production, so I'll go with my EHCache solution for now
> > until things tighten up with JCache, thanks.
> >
> > On Mon, Aug 17, 2015 at 11:46 AM, Romain Manni-Bucau <
> rmannibucau@gmail.com>
> > wrote:
> >
> >> 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" <sg...@gmail.com> 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 <
> >>> rmannibucau@gmail.com>
> >>> 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" <sg...@gmail.com> 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 <
> >>>>> rmannibucau@gmail.com>
> >>>>> 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 <sg...@gmail.com>:
> >>>>>>
> >>>>>>> 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 <
> >>>>>>> rmannibucau@gmail.com>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> Hi
> >>>>>>>>
> >>>>>>>> Yes - are you looking for sometjing in particular?
> >>>>>>>> Le 17 août 2015 07:12, "sgjava" <sg...@gmail.com> 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
> >
> >
> >
> > --
> > Steven P. Goldsmith
>
--
Steven P. Goldsmith
Re: JSR-107, JCache
Posted by Helge Waastad <he...@waastad.org>.
Hi,
We've been using jcache/jcs in tomee 1.7.2 for some time now (caching dynamic web forms) and its working fine. I do like jcs hierachical structure.
Br hw
Sendt fra min iPhone
> Den 17. aug. 2015 kl. 17:54 skrev Steve Goldsmith <sg...@gmail.com>:
>
> Cool, this is for production, so I'll go with my EHCache solution for now
> until things tighten up with JCache, thanks.
>
> On Mon, Aug 17, 2015 at 11:46 AM, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
>
>> 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" <sg...@gmail.com> 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 <
>>> rmannibucau@gmail.com>
>>> 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" <sg...@gmail.com> 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 <
>>>>> rmannibucau@gmail.com>
>>>>> 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 <sg...@gmail.com>:
>>>>>>
>>>>>>> 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 <
>>>>>>> rmannibucau@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> Yes - are you looking for sometjing in particular?
>>>>>>>> Le 17 août 2015 07:12, "sgjava" <sg...@gmail.com> 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
>
>
>
> --
> Steven P. Goldsmith
Re: JSR-107, JCache
Posted by Steve Goldsmith <sg...@gmail.com>.
Cool, this is for production, so I'll go with my EHCache solution for now
until things tighten up with JCache, thanks.
On Mon, Aug 17, 2015 at 11:46 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> 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" <sg...@gmail.com> 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 <
> > rmannibucau@gmail.com>
> > 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" <sg...@gmail.com> 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 <
> > > > rmannibucau@gmail.com>
> > > > 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 <sg...@gmail.com>:
> > > > >
> > > > > > 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 <
> > > > > > rmannibucau@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Hi
> > > > > > >
> > > > > > > Yes - are you looking for sometjing in particular?
> > > > > > > Le 17 août 2015 07:12, "sgjava" <sg...@gmail.com> 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
> >
>
--
Steven P. Goldsmith
Re: JSR-107, JCache
Posted by Romain Manni-Bucau <rm...@gmail.com>.
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" <sg...@gmail.com> 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 <
> rmannibucau@gmail.com>
> 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" <sg...@gmail.com> 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 <
> > > rmannibucau@gmail.com>
> > > 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 <sg...@gmail.com>:
> > > >
> > > > > 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 <
> > > > > rmannibucau@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Hi
> > > > > >
> > > > > > Yes - are you looking for sometjing in particular?
> > > > > > Le 17 août 2015 07:12, "sgjava" <sg...@gmail.com> 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
>
Re: JSR-107, JCache
Posted by Steve Goldsmith <sg...@gmail.com>.
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 <rm...@gmail.com>
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" <sg...@gmail.com> 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 <
> > rmannibucau@gmail.com>
> > 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 <sg...@gmail.com>:
> > >
> > > > 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 <
> > > > rmannibucau@gmail.com>
> > > > wrote:
> > > >
> > > > > Hi
> > > > >
> > > > > Yes - are you looking for sometjing in particular?
> > > > > Le 17 août 2015 07:12, "sgjava" <sg...@gmail.com> 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
Re: JSR-107, JCache
Posted by Romain Manni-Bucau <rm...@gmail.com>.
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" <sg...@gmail.com> 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 <
> rmannibucau@gmail.com>
> 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 <sg...@gmail.com>:
> >
> > > 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 <
> > > rmannibucau@gmail.com>
> > > wrote:
> > >
> > > > Hi
> > > >
> > > > Yes - are you looking for sometjing in particular?
> > > > Le 17 août 2015 07:12, "sgjava" <sg...@gmail.com> 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
>
Re: JSR-107, JCache
Posted by Steve Goldsmith <sg...@gmail.com>.
@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 <rm...@gmail.com>
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 <sg...@gmail.com>:
>
> > 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 <
> > rmannibucau@gmail.com>
> > wrote:
> >
> > > Hi
> > >
> > > Yes - are you looking for sometjing in particular?
> > > Le 17 août 2015 07:12, "sgjava" <sg...@gmail.com> 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
Re: JSR-107, JCache
Posted by Romain Manni-Bucau <rm...@gmail.com>.
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 <sg...@gmail.com>:
> 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 <
> rmannibucau@gmail.com>
> wrote:
>
> > Hi
> >
> > Yes - are you looking for sometjing in particular?
> > Le 17 août 2015 07:12, "sgjava" <sg...@gmail.com> 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
>
Re: JSR-107, JCache
Posted by Steve Goldsmith <sg...@gmail.com>.
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 <rm...@gmail.com>
wrote:
> Hi
>
> Yes - are you looking for sometjing in particular?
> Le 17 août 2015 07:12, "sgjava" <sg...@gmail.com> 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
Re: JSR-107, JCache
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
Yes - are you looking for sometjing in particular?
Le 17 août 2015 07:12, "sgjava" <sg...@gmail.com> 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.
>