views:

55

answers:

1

Hi,

I'm currently working on a migration a web application to run in a cluster. This application uses caches. Some of this caches are reloaded in case the user saves something. I'ld like to inform the other nodes of the cluster about this, so that all nodes refresh their caches.

It seems that the tomcat server has a group messaging build in. (Tribes) I'm wondering if I can use this messaging for my task and how to have the event listener run the whole day then.

with kind regards Michael

A: 

It is possible to use it and there is no need to start a thread or the like. Sending class instances around requires a jar of the message class in tomcat lib directory.

cheers Michae

Michael