I am trying to write Java application which send data to Web client (HTML/js) via NodeJs web server. Also the same java application should receive message from the web client on button click. Let me know how this can be done.
Any example code available on this?