Integration of JCache caching API with Bootique. Provides injectable CacheManager.
For additional help/questions about this example send a message to Bootique forum.
* Java 1.8 or newer.
* Apache Maven.
Maven
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.bootique.bom</groupId>
<artifactId>bootique-bom</artifactId>
<version>0.24</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependency>
<groupId>io.bootique.jcache</groupId>
<artifactId>bootique-jcache</artifactId>
</dependency>
Note: bootique-jcahce is a part of bootique-bom, and version is imported from there.
OPTIONS
-c yaml_location, --config=yaml_location
Specifies YAML config location, which can be a file path or a URL.
-h, --help
Prints this message.
-H, --help-config
Prints information about application modules and their configuration
options.
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, Hazelcast, etc.
See usage examples:
- bootique-ehcache-demo - an example of Ehcache usage in Bootique app.
- bootique-hazelcast-demo - an example of Hazelcast JCache usage in Bootique app.