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

Which httpsession object is used to view and manipulate information about a session?

0 Answers  


what are the disadvantages of cookies?

8 Answers  


What are the uses of servlet and what is servlet chaining?

0 Answers  


How to find whether a parameter exists in the request object?

0 Answers  


what is the difference between ServletContext and ServletConfig

7 Answers  






What is the use of Servlets?

7 Answers   Infosys,


Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

0 Answers  


What are the Internal servlets maintained by the web server?

1 Answers   Infosys,


What’s the difference between sendredirect and forward methods

0 Answers  


What are the benefits of using servlet over cgi?

0 Answers  


Can a jsp be called using a servlet?

0 Answers  


HTTP tunneling means what?

2 Answers  


Categories