The process of establishing a connection between a client and a server is called as Client – Server communication
But …
Advantages : 1.Portability 2.Platform Independence 3.Persistence 4.Performance 5.Java Based
Servlet Process flow : Figure shows a high-level client-to-servlet process flow: 1. The client sends a request to the server. 2. The server sends the request information to the servlet. 3. The servlet builds a response and passes it to the server 4. The server sends the response back to the client.
Lifecycle of a Servlet :