Facebook-like chat for my Java web application

I am creating a Facebook like chat for my Java web application. But it didn't work, I followed

below link http://www.javacodegeeks.com/2012/10/cometd-facebook-similar-chat-for-your.html

Is there any other chat API to create a chat for my java seam web application?

got an error with this function

for this function i got false if condition

_metaHandshake: function (message) {
            // getting false :(
            if (message.successful) {
                $.cometChat._connectionInitialized();
            }
        },

      

help me if it works with seam

+3


source to share


1 answer


facebook uses a separate XMPP server to handle the chat function. if you can try use openfire xmppserver library and strophejs javascript. you need to develop your interface yourself and find out xmpp messages.

http://strophe.im/strophejs/



http://www.igniterealtime.org/projects/openfire/

0


source







All Articles