Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to integrate Node.js in a java web application for some functionalities like for chat functionalities? [closed]

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.

like image 379
Archana Avatar asked Nov 02 '22 22:11

Archana


1 Answers

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.

like image 133
eis Avatar answered Nov 11 '22 03:11

eis