JCache integration for Bootique
Java
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE
README.md
RELEASE-NOTES.md
pom.xml
travis_settings.xml

README.md

Build Status Maven Central

bootique-jcache

Integration of JCache caching API with Bootique. Provides injectable CacheManager.

For additional help/questions about this example send a message to Bootique forum.

Prerequisites

* Java 1.8 or newer.
* Apache Maven.

Setup

Add bootique-jcache to your build tool

Maven

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>io.bootique.bom</groupId>
            <artifactId>bootique-bom</artifactId>
            <version>0.25</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

<dependency>
    <groupId>io.bootique.jcache</groupId>
    <artifactId>bootique-jcache</artifactId>
</dependency>

Example Project

bootique-jcache does not bundle a JCache provider. You will need to explicitly include a provider of your choice on the classpath of your application, such as EhCache, Caffeine, Hazelcast, etc.

See usage examples: