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?

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


Please Help Members By Posting Answers For Below Questions

How can the session in servlet can be destroyed?

1166


What do you mean by scope object and what are its types?

1055


What is servlet attributes and their scope?

1047


What do you mean by session tracking and also explain its techniques?

973


What's the difference between servlets and applets?

1031


Why do we have servlet wrapper classes?

1058


What do you mean by cgi in servlet?

1063


Can you send an authentication error from a servlet?

961


What’s the use of the servlet wrapper classes??

1098


How native code can be used in a servlet?

4051


What is the difference between the servlets and cgi programs?

981


Why servlet is used as controller ? Not JSP? I want complete explation?

1123


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

1075


How can we implement a jsp page?

1128


What is http servlet?

1050