Introduction - If you have any usage issues, please Google them yourself
Between server and client through the socket Socket (TCP) connection. In java using a very simple set of interfaces, Java API for dealing with socket communications category provides a java.net.Socket., Making the preparation of web applications is relatively easy. Server used to meet the needs of multi-threaded multi-user request, and the background through the JDBC database connection, and by creating a ServerSocket object to listen for connection requests from clients, the default port is 8080, and then infinite loop calling accept () method to accept client connection