Servlets :
Servlet is a pure java file , which resides on server.
Servlet concept basically we are using for create web
application (a pure java file, which resides on server).
Servlet container is responsible
for creating objects.
Servlet creates only one object at the time of first
request.
CGI :
Before Servlet technology , CGI technology used for creating
web applications .
But , the problem in CGI technology is each request, it
starts a new process.
Problems in CGI :
·
Response time of request is directly
propertional to number of users .I mean if users increases , response time is
very slow.
·
It is dependent on Platform.
0 Response to "Servlet vs CGI"
Post a Comment