If you want to go beyond a simple client you need to make use of a more general network connection method. The usual way of doing this is to make use of “sockets”. This is a widely supported internet ...
This tutorial is an introduction to socket programming in Java, starting with a simple client-server example demonstrating the basic features of Java I/O. You’ll be introduced to both the original ...