Tuesday, November 29, 2011

What is the difference between CGI and Servlet?

CGI creates process for each client call where as servlet creates process for the first time and then uses thread for each client.:CGI can respose for only one request at a time.but in servlet so many request at a time.:cgi program or script may be platform independent.but servlet is may not be platform indpendent.:CGI:It is difficult to control the security previleges of servlet:Servlet CGI (Common Gateway Interface):Difference between CGI and Servlet:
Category:Java Interview Questions

No comments:

Post a Comment