I have two server which is sharing the same database. I am using modeshape in these two servers to save my data.
Here My problem is,
Created / Updated data in one server is not reflected in another server. I am thinking to disable the internal cache. So that Modeshape will always communicate the DB to get the datas.
I can go with clusters. But I hope we should open ports. So it is not advisable.
Please suggest solution for my problems.
If possible, please give sample code
Thanks,
Balakrishnan. N