How to Load balancing. Two app servers one database


I already read many questions about multiple servers connect to one db. But I’ve got no solution from it for my case.

My case is: One db (oracle), one domain and two app servers.

What I want is: every users who login from AppServer1 got same view from their friends who login from AppServer2. They’re can talk without adding manualy.

Can I?

As you are posting in the Clustering category i suppose you have heard about that technology. Openfire supports that via old Clustering plugin, which is working with a commercial Oracle Coherence. For Openfire 3.7.0

And there is also an open source plugin in the works