Pages

Wednesday, September 14, 2011

Sample code for exercising Dynacache DistributedMap

A lot of times customers ask me for sample code to drive a Dynacache DistributedMap.

I have put up one such sample on github that illustrates the common and basic operations with Dynacache DistributedMap i.e. the WebSphere Application Server's default POJO cache.
https://github.com/kelapure/dynacache/blob/master/com/ibm/ws/cache/sample/TestDistributedMap.java

Configuring a Dynacache distributed map is covered under Using the DistributedMap and DistributedObjectCache interfaces for the dynamic cache

Best practices and tuning of Dynacache and DRS for replication have been covered in a previous blog post here http://wasdynacache.blogspot.com/2011/07/tuning-dynacache-and-drs.html


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.