Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what are the CGI Programs?

Answers were Sorted based on User's Feedback



what are the CGI Programs?..

Answer / chandra kunchala

CGI:- COMMON GATEWAY INTERFACE.

CGI programs ate process based.
when ever we are sending a reqeust a separate process will
create. for each and every request it will create separete
process. so with respect to memory point of view we 've
loss lot of memory. but in the case of servlets, servlets
are thread based, and it will create onle request and
response objects only, so at the momory point of view this
will not effect.

The major advantage of CGI over servlets is, there is no
data-in-constitency problem as because for each and every
requet it will create process in separate memory so, all
process are independent to each other. But in the case of
servlets thrads are creating in the shared memory, so, there
may be chance of getting data-in-consistency problem..

Is This Answer Correct ?    2 Yes 0 No

what are the CGI Programs?..

Answer / dheeraj singh

CGI scrpit is a program that takes data from standard input,
performs some logic and send data to standard output.

The problem with CGI script is that your server must
restart the CGI scritpt everytime a new request is
issued.This means everytime a client communicates,your
server needs to begin a new process.Starting and stopping
processess are expensive operations.

Is This Answer Correct ?    1 Yes 0 No

what are the CGI Programs?..

Answer / shakir khan

CGI scrpit is a program that takes data from standard input,
performs some logic and send data to standard output.

The problem with CGI script is that your server must
restart the CGI scritpt everytime a new request is
issued.This means everytime a client communicates,your
server needs to begin a new process.Starting and stopping
processess are expensive operations.

Is This Answer Correct ?    1 Yes 1 No

what are the CGI Programs?..

Answer / saikiran

CGI is not a programing Language that was giving some
standards we can implement in any of the programing
language implement those low level standard is difficult
for that only servlet gets come into the picture

Is This Answer Correct ?    0 Yes 0 No

what are the CGI Programs?..

Answer / pinku pattanaik

CGI:- COMMON GATEWAY INTERFACE.

CGI programs ate process based.
when ever we are sending a reqeust a separate process will
create. for each and every request it will create separete
process. so with respect to memory point of view we 've
loss lot of memory. but in the case of servlets, servlets
are thread based, and it will create onle request and
response objects only, so at the momory point of view this
will not effect.

The major advantage of CGI over servlets is, there is no
data-in-constitency problem as because for each and every
requet it will create process in separate memory so, all
process are independent to each other. But in the case of
servlets thrads are creating in the shared memory, so, there
may be chance of getting data-in-consistency problem..

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

What is connection pooling?

4 Answers   Wipro,


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

0 Answers  


Explain the difference between generic servlet and http servlet?

0 Answers  


What is the need of session tracking in web application?

0 Answers  


What is the use of httpservletresponsewrapper?

0 Answers  


how to make the IP address to .com

1 Answers   iGate,


What are the phases of the servlet life cycle?

0 Answers  


Can filter be used as request or response?

0 Answers  


Explain the concept of ssi ?

0 Answers  


What is servlet and list its types?

0 Answers  


What are the difference between HttpServlet and GenericServlets?

2 Answers  


What is Generic Servlet and how it is different from Http Servlet?

5 Answers   Wipro,


Categories