googlielmo / hazelcast-dynacache

This repository contains Hazelcast DynaCache feature for Liberty Profile.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table of Contents

Hazelcast DynaCache

This repository contains Hazelcast DynaCache feature for Liberty Profile. In Liberty WAS, you can use dynamic cache engine (which is the default) in order to cache your data. With this feature, you can use Hazelcast as cache provider.

Requirements

Creating Development Environment

  • Clone bundle branch of the modified version of Hazelcast library:

    git clone -b bundle https://github.com/emre-aydin/hazelcast.git
    
  • Install the modified version of Hazelcast into local Maven repository. Execute the following in hazelcast project root directory:

    mvn clean install -DskipTests=true
    
  • Clone this GitHub repository:

    git clone https://github.com/hazelcast/hazelcast-dynacache.git
    
  • Execute mvn clean package on hazelcast-dynacache root directory to create the .esa file

Installing Hazelcast DynaCache to WebSphere Liberty

Install the .esa file by executing the following command:

<liberty dir>/bin/featureManager install hazelcast-dynacache/hazelcast-dynacache/target/hazelcast-dynacache-0.2.esa

Use hazelcast as your cache provider name in your cacheinstances.properties file.

Enabling Hazelcast DynaCache on WebSphere Liberty

Enable Hazelcast DynaCache by adding the following snippet to your server.xml file:

 <featureManager>
   <feature>usr:hazelcast-dynacache</feature>
 </featureManager>

Installing Hazelcast DynaCache to Traditional WebSphere 9.0.0.1

Apply the iFix under twas-ifix directory to your WebSphere server and put the following files under WAS_HOME/lib/ext:

  • hazelcast-3.8-BUNDLE.jar
  • hazelcast-client-3.8-BUNDLE.jar
  • hazelcast-dynacache-bundle-0.2.jar

Use com.hazelcast.ibm.dynacache.CacheProviderImpl as your cache provider name in your cacheinstances.properties file.

About

This repository contains Hazelcast DynaCache feature for Liberty Profile.

License:Apache License 2.0


Languages

Language:Java 98.0%Language:Shell 2.0%