Posts Tagged ‘ jgroups

Are you clearing your cache manually ?

alarm clock, bought from IKEA
Image via Wikipedia

Most probably you have management link that enable you clear cache manually !

Then there is something totally wrong in your software/project  :)

Your software is :

  • Not aware of itself
  • Do not now what it is under going now
  • Do not know how to respond to these operations …

Read more

Runtime Java Stack

Toolkit

Image by Neil T via Flickr

I have been developing java application for more then 6 years. Most of these years I have used and evaluated open source projects. Here I’ll try to explain my open source java stack. Read more

JGroups-Spring In Action

If your are new with jgroups ,take a look JGroups Basic and other jGroups posts
Some Sample Code you may use for adding networking utilities to your Application

Two FactoryBeans for JGroups

  1. ChannelBeanFactory for creating JChannel Instances
  2. ReplicatedHashMapFactory for ReplicatedHashMapFactory Instances

Read more

Clustering Acegi via JGroups (DistributedHashtable)

in my previous blog I suggest to use jms or caching for a distributable SessionRegistry
but I found a more simple solution JGroups -

DistributedHashtable :JGroups gives us such a perfect simple class to distributed maps.

  • All read-only operations runs on local copies
  • perfect merge strategies.
  • easy implementation and configuration
  • vs..

Read more

DistributableEventPublisher for Spring via JGroups

drawing6.pngMessaging is really easy through a single JVM. For a distributed environments JMS is strongly recommended. but for smaller and simple projects here is and example implementation via JGroups.
Usage

DistributableEventPublisher distributableEventPublisher=….
distributableEventPublisher.castEvent(TEXT_MESSAGE/XML/Serializable);

requirements:

  • springframework 2+
  • JGroups 2.6.1
  • JUnit (for test)

Read more

light-weight distributed messaging via JGroups

JGroups is a framework that provide seamless networking utilities for java/j2ee applications. As a light-weight alternative to JMS here is an example.

Read more

JGroups Basics

JGroups is a basic networking api for java.It handles all networking issues for u with very complex configuration and simple interfaces.Here are some basic introduction for JGroups

Read more