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 do you find out what client machine is making a request to your servlet

1003


How are filters?

990


Write a simple servlet program to print the contents of html.

980


What must be implemented by all servlets?

1040


What are different ways for authentication of servlet?

1004


What is java servlet session?

915


Explain request dispatcher and its methods.

944


How do you invoke a servelt?

1060


What is the use of servlet context?

981


What is a servlet?

1070


What do you mean by url pattern in servlet?

1068


What is the directory structure of a war file?

1106


Explain url encoding?

939


Explain web container.

976


Can filter be used as request or response?

914