Tuesday, November 29, 2011

What are the advantages using servlets than using CGI?

Servlets provide a way to generate dynamic documents that is both easier to write and faster to run. It is efficient, convenient, powerful, portable, secure and inexpensive.:servelet creates threads for each request and in case of CGI it creates an 0bject for each request comparingly slower than servelet:cgi must be loaded into the server every time when it is invoked .After the work has been completed it will be removed from the server.
Category:Servlet Interview Questions

No comments:

Post a Comment