Title: Networking: Better Server Model
Course: CPS 261: Advanced Java Concepts ~ DL & MM MASTER > Section: Learning Units - Bb

Presentations and Videos

- Networking: Better Server Model lecture video (Time: 00:00)
- Networking: Better Server Model document

In the previous video/notes we went over the basics of Sockets. However, the Server code example had many deficiencies. In this video/notes we create a better Server Architecture with the following advantages:

- We can handle more than one conversation simultaneously
- We can terminate threads more cleanly with the 2 classes: MotherServer.java and EchoServer.java
- We can reuse the EchoServer logic by extending EchoServer to create other protocols: Rock-Paper-Scissors, Http Server, File Server