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...


Hi Friends,
Suppose you have a web appliction which consists of 100
clients are connected with Connection pooling and they are
associated with 100 connection objcet and connected
with DB sever,Due some problem DB-Server suddenly crashed
and server came to down state for a while after few minutes
DB-server once again up,Now how will I manage my Pool
Management with my 100 clients...can any one tell
me??????????????????

Answers were Sorted based on User's Feedback



Hi Friends, Suppose you have a web appliction which consists of 100 clients are connected with Co..

Answer / sathya

Dear Friend,
U r designing a web application,if it is crashing frequetly
means,User can loss their session,Maintain another host
machine if one server crashes the user can still access the
site.Use Load balancer server.

Is This Answer Correct ?    2 Yes 0 No

Hi Friends, Suppose you have a web appliction which consists of 100 clients are connected with Co..

Answer / sreenu bassha

When the server is up all the database interactions are
executing at the time of server down are not committed. As
the server is up and start working fine (no need to worry
about the connections) connections are maintained by the
server.

Is This Answer Correct ?    1 Yes 0 No

Hi Friends, Suppose you have a web appliction which consists of 100 clients are connected with Co..

Answer / amit arora

I believe if db server suddenly crashed, then all the
connections are lost.
Also, all the sessions are expired for each and every
client.
now, when db-server is again up.
As soon as first client request for any data. (if session
tracking) then It will creates new session and create first
connection.(or get the first connection from the connection
pool). Summary- Connection pool need to be reset from
begining, and this will grow up the conections as per your
original logic.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

can we use more than one controller in web application

3 Answers   IBM,


When servlet object is created?

0 Answers  


Explain the methods in Generic and HTTP Servlets?

2 Answers  


What is a servlet-to-servlet communcation?

0 Answers  


What is the difference between doGet and doPost?

9 Answers   iGate,


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

0 Answers  


How to notify an object in session when session is invalidated or timed-out?

0 Answers  


what is the difference between ServletContext and ServletConfig

7 Answers  


What is cookies in servlet with example?

0 Answers  


Why don't we write a constructor in a servlet?

0 Answers  


Can we refresh servlet in client and server side automatically?

0 Answers  


Explain servlet events?

0 Answers  


Categories