Hi Gurus & Mentors,

I meet a problem.That requires:
1.cluster environment
2.cache(or pool) data for performance consideration
3.data in cache could be changed by client(and then will update database)
4.all changed data should be notified in different host computers to make data consistent

if I employ EntityBean,the data consistency issue is sovled by the application server cluster feature.But I need data caching for better performance,so that simple EnityBean is not enough.
if I use RMI(or socket) to self-implement the data consistency,it is very complicated.and also concern about the transaction issue.
In a word,I need a good solution for observer pattern in a distributed environment.

I have thought many ways,not quite good,hope your professional suggestion.thanks a lot in advance