GeekInterview.com
Series: Subject: Topic:
Question: 145 of 199

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. Servlets also address the problem of doing server-side programming with platform-specific APIs. They are developed with Java Servlet API, a standard Java extension.
Asked by: Interview Candidate | Asked on: Aug 28th, 2004
Showing Answers 1 - 1 of 1 Answers

 CGI scripts are complex. Servelts have serveral advantage over CGI like servlets are platform independent. and we can take advantage of all java features in servlets. Multithreading support is there in servlets. and I think in CGI script for each request different object is created that is overhead. which is not the case in servlets. 

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.