Professional Documents
Culture Documents
Ethan Cerami
New York University
Browser service()
service() Single Instance
Browser Web Server
service() of Servlet
Browser
synchronized (this) {
String id = "User-ID-" + nextID;
out.println("<H2>" + id + "</H2>");
nextID = nextID + 1;
}