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

Explain the difference between generic servlet and http servlet?

999


What are the types of servlets? Explain

1267


What is session?

1073


What are the advantages of cookies?

1126


What is difference between server and servlet?

1092


Is dispatcher servlet a singleton?

1018


Which java application server is the best?

1037


What is servlet in simple terms?

1025


Define servlet mapping?

1168


What methodology can be followed to store more number of objects in a remote server?

2280


Define the servlet mapping.

1060


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

1069


What is the life-cycle of servlets?

1139


What is the need of servlet filters?

1011


How do you invoke a servelt?

1127