Run JustADemoServer 2. Many clients connect to the server in a short time Iterative Server Handles one request at a time Use when requests are guaranteed to be completed within a small amount of time. Trivial to implement. Easy to serialize accesses to a central database.
Server is locked while dealing with a request.
If the request does take longer than allowed, no other clients can get service. Complexity inherent in concurrent processing. Checking The following client will crash the server import java.net. Stateful Server Client connects to the server Client makes one request Server handles request Client makes another request Server handles request etc.