I'm building a chat application that allows people from any website to communicate with my website. Here's the visual breakdown:
Website A Server Website B
Msg1 -------> Msg1 -------> Msg1
|
Msg2 <------- Msg2 <------- Msg2
Right now I'm using a polling solution that works for the time being, but it won't scale.
I'm wondering what solid solutions there are that I could use to facilitate this messaging functionality. I looked at JMS briefly, but it looked like it was only for communication from one Java server to another (not HTML to Java to HTML which is what my setup requires)