This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have made a multithreaded chat application and integrated it in a web application. It's working fine if I run the chat Server and the Web Application clients on the same machine.
but, when I run the server on a separate machine and calls the Chat Client from other machine, the chat window is opening on the Server side, not at the client side.
I' am unable to find the problem, where I have missed something..
Any code you run in the server application will run on the server machine. Any code you run in the client application will run on the client machine. It looks like you're opening the chat window in your server application, but you should open it in your client application. Can you perhaps show us a small bit of code to show if my guess is correct?