Skip to main content

How to replication data between cluster nodes?

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2013-10-03

Hi Everyone:

I have a scenario is that, I cluster the two glassfish server together, each server has one instance.

My EJB application will consume message from broker and will save the data into memory.

Question is how to keep two glassfish server the data all synchronized, means all the server has the same data.

Do I need using singtelton or using stateful session bean, and how to implement, code wise and how to configure?

Thanks a lot in advance.