[infinispan-issues] [JBoss JIRA] (ISPN-7534) Support JCache on Wildfly/EAP
Sebastian Łaskawiec (JIRA)
issues at jboss.org
Tue Feb 28 04:14:00 EST 2017
[ https://issues.jboss.org/browse/ISPN-7534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13370087#comment-13370087 ]
Sebastian Łaskawiec edited comment on ISPN-7534 at 2/28/17 4:13 AM:
--------------------------------------------------------------------
Adam Bien created a bridge between JEE8 and JCache: https://github.com/Adopt-a-JSR/jcache-javaee
A proposed [spec xml|https://github.com/Adopt-a-JSR/jcache-javaee/blob/master/jcache-javaee/src/test/resources/META-INF/cache.xml] looks very interesting:
{code}
<caches>
<caching-provider>org.jsr107.ri.spi.RICachingProvider</caching-provider>
<cache name="it" key="java.lang.String" value="java.lang.String">
<configuration>
<property name="store.by.value" value="true"/>
<property name="management.enabled" value="false"/>
<property name="statistics.enabled" value="true"/>
<property name="vendor.specific" value="unicorn"/>
</configuration>
</cache>
<cache name="hack3rz" value="java.lang.String">
<configuration>
<property name="store.by.value" value="false"/>
<property name="management.enabled" value="true"/>
<property name="statistics.enabled" value="false"/>
<property name="java" value="duke"/>
</configuration>
</cache>
</caches>
{code}
As mentioned in the [JEE mailing list|https://java.net/projects/javaee-spec/lists/users/archive/2016-09/message/14] this is a Proof Of Concept repo.
was (Author: sebastian.laskawiec):
Adam Bien created a bridge between JEE8 and JCache: https://github.com/Adopt-a-JSR/jcache-javaee
A proposed [spec xml|https://github.com/Adopt-a-JSR/jcache-javaee/blob/master/jcache-javaee/src/test/resources/META-INF/cache.xml] looks very interesting:
{code}
<caches>
<caching-provider>org.jsr107.ri.spi.RICachingProvider</caching-provider>
<cache name="it" key="java.lang.String" value="java.lang.String">
<configuration>
<property name="store.by.value" value="true"/>
<property name="management.enabled" value="false"/>
<property name="statistics.enabled" value="true"/>
<property name="vendor.specific" value="unicorn"/>
</configuration>
</cache>
<cache name="hack3rz" value="java.lang.String">
<configuration>
<property name="store.by.value" value="false"/>
<property name="management.enabled" value="true"/>
<property name="statistics.enabled" value="false"/>
<property name="java" value="duke"/>
</configuration>
</cache>
</caches>
{code}
> Support JCache on Wildfly/EAP
> -----------------------------
>
> Key: ISPN-7534
> URL: https://issues.jboss.org/browse/ISPN-7534
> Project: Infinispan
> Issue Type: Feature Request
> Components: Integration
> Reporter: Sebastian Łaskawiec
> Assignee: Sebastian Łaskawiec
> Priority: Critical
>
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list