Does JCache exist on the JEE platform?

0

Is there a caching mechanism in JEE? JCache exists on the JEE platform?

    
asked by anonymous 12.12.2017 / 22:36

1 answer

0

I believe that JCache ( JSR107 ) > is available only from JEE8, because in 7 there were some problems as reported in this link from Oracle's blog:

If you are using 8, as in this link , simply add the following: / p>

Use Maven:

<dependency>
    <groupId>javax.cache</groupId>
    <artifactId>cache-api</artifactId>
    <version>1.0.0</version>
</dependency>

Use Grandle:

 compile group: 'javax.cache', name: 'cache-api', version: '1.0.0'

SBT:

libraryDependencies += "javax.cache" % "cache-api" % "1.0.0"

You can also download .jar from the link:

For updates follow this link:

12.12.2017 / 22:49