问题描述:

I want to integrate node.js chat application using socket.io framework to the JSF web application running on JBoss server. Can you please give any sugessions like how to do it.

网友答案:

Have two servers running on the same domain but on different ports, say node.js on 8888 and JBoss on 8080. In an HTML page on JBoss, have a regular hyperlink pointing to chat server on yourservername:8888/chaturl, and on chat exit, return to your JBoss app.

Or use a frame if you need to embed the chat app to your page in JBoss. But rather not frames.

相关阅读:
Top