users@glassfish.java.net

Re: JCACHE (JSR 107) support in Glassfish

From: <forums_at_java.net>
Date: Wed, 7 Aug 2013 11:54:08 -0500 (CDT)

Hi Andrew, I can't speak for the GlassFish developers but I'll have a go with
an opinion ;-) As a member of the expert group, JSR107 is currently in public
draft review so it's not out yet but it is close. IMHO I'm not sure Shoal
would be the right place to put JSR107 as it is the cluster implementation
and JSR107 is a caching api. Clustered caches could use Shoal as part of
their implementation but JSR107 doesn't mandate a clustered cache. Dropping
in the reference implementation would give you access to the JSR107 api.
However the reference implementation is not clustered so is just a local
cache. I haven't tried it so I don't know if it integrates with CDI etc.
Assuming it works though swapping JSR107 providers would be pretty simple if
you need more than the RI local cache. If you need a clustered data grid
accessible from GlassFish then the Oracle solution is Coherence or as you say
you could go with an open source alternative like Infinispan. Both are
getting or already have first cut JSR107 implementations. If you need any
help or assistance with options give me a shout. Steve Millidge C2B2
http://www.c2b2.co.uk/data_grids_and_caching http://www.c2b2.co.uk/glassfish

--
[Message sent by forum member 'smillidge-c2b2']
View Post: http://forums.java.net/node/898167