Course Notes‎ > ‎

Chapter 8 - Threads and Networking


Introduction


This section assumes that you have completed Chapter 7 - Java Network Applications. The client-server application that was discussed in that chapter worked well; however, there was one main difficulty. The server could only handle one client connection at a time, i.e. A connection is made and the server is tied to that client. The service is performed and then when complete, the client is released and the server is made available for more client connections. In this section we want to develop a threaded server application that will allow multiple client connections at the same time.



These notes are copyright Dr. Derek Molloy, School of Electronic Engineering, Dublin City University, Ireland 2013-present. Please contact him directly before reproducing any of the content in any way.