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

Why session tracking is needed?

1088


What is session?

1125


what is servlet chaining?

1150


What is pure servlet?

1255


What is the need of servlet filters?

1064


What if you need to span your transaction across multiple servlet invocations?

1141


Can we use threads in Servlets?

1192


How can we upload the file to the server using servlet?

1168


Is servlet a framework?

1093


How can a servlet be used to generate plain text instead of html?

999


How to rectify errors in java servlet while compilation?

1014


Which is the methods of generated servlet?

1298


What is servlet invoker?

1087


How to get the path of servlet in the server?

1047


Explain url encoding in servlet?

1104