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
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()?
What are the advantages of servlets over traditional cgi?
Explain request dispatcher and its methods.
What must be implemented by all servlets?
What is the use of java servlet api?
What is difference between cookies and httpsession?
What is life cycle of Servlet?
What is the disadvantage of cookies?
Is java servlet still used?
Can we fetch the attributes related to a servlet on a different servlet?
Which event is fired at the time of setting, getting or removing attribute from application scope?
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!
What is the type of method for sending request from http server?
When Servlet is unloaded?
How can you push data from an Applet to a Servlet?