Answer Posted / 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 |
Post New Answer View All Answers
Explain web container.
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
What is http servlet in java?
what do you understand by url rewriting?
How can the session in servlet can be destroyed?
What is life cycle of Servlet?
What are session variable in servlets?
List the Different types of servlet?
How to find whether a parameter exists in the request object?
Difference between httpservlet and generic servlets?
How to get the IP address of client in servlet?
What is the use of httpservletresponsewrapper?
What is the inter-servlet communication?
What is Request Dispatcher?
Write a servlet to upload file on server.