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

What is the difference between Server and Container?

1309


What is the difference between get and post methods?

1100


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

1104


If some new data has entered the database, explain how can a servlet refresh automatically?

1354


Explain how to improve Servlet Performance?

1200


What is difference between jsp and servlet?

1211


What is the use of httpservletrequestwrapper?

1147


Explain how does JSP handle run-time exceptions?

1162


What is the importance of init() method in Servlet ?

1128


What do you mean by url pattern in servlet?

1160


How will two or three servlets interact or communicate with each other?

1495


What is the servletconfig object?

1090


What is called Session Tracking?

1250


What is the difference between the include() and forward() methods?

1126


What is the use of attribute in servlets?

1084