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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

625


What are the advantages of servlets over traditional cgi?

638


Explain request dispatcher and its methods.

595


What must be implemented by all servlets?

583


What is the use of java servlet api?

609






What is difference between cookies and httpsession?

558


What is life cycle of Servlet?

615


What is the disadvantage of cookies?

590


Is java servlet still used?

604


Can we fetch the attributes related to a servlet on a different servlet?

652


Which event is fired at the time of setting, getting or removing attribute from application scope?

627


Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!

1844


What is the type of method for sending request from http server?

606


When Servlet is unloaded?

643


How can you push data from an Applet to a Servlet?

622