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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is called Scriptlet?

1086


What is dispatcher servlet?

1045


Explain is servlet mapping?

991


Explain url encoding?

971


What do you mean by servlet context?

1117


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

968


What is the need of servlet filters?

991


If a servlet is not properly initialized, what exception may be thrown?

1169


What is the difference between get and post methods?

1022


What is the process to implement doget and dopost methods?

982


What are the types of protocols supported by httpservlet ?

1207


How to get the current httpsession object?

1099


Define the servlet mapping.

1033


What are the phases of servlet life cycle?

1103


When should you prefer to use doget() over dopost()?

1133