elena-bondareva / bootique-jcache

JCache integration for Bootique

Home Page:http://bootique.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.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.

Available commands

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.

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, Hazelcast, etc.

See usage examples:

About

JCache integration for Bootique

http://bootique.io

License:Apache License 2.0


Languages

Language:Java 100.0%