For my project, I need to create a Java-Swing desktop application that will communicate with a server remotely through sockets, similar to Skype. Can AJAX be used to transfer the data to the server in this case? What is the best way to implement the JavaScript Engine?
Are there alternative methods to achieve this goal? Any suggestions or advice?