A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Where do I need synchronization in Servlets?
Joined: Sep 21, 2004
Oct 19, 2004 20:18:00
I am writing some
which allows users to store and retrieve information in MySql database. I am using
I have configured Tomcat for connection pooling and it works. Servlets use a database agent for access to database. Many user may access to server at the same time.
My questions are:
Where do I need synchronization?
Does Tomcat take care of synchronization?
Do I need to create threads in servlets to respond to request?
Can anybody explain to me or refer me to somewhere where I can find some information.
Joined: Aug 15, 2004
Oct 19, 2004 23:13:00
i think you had better read something on
- servlet request/response mechanism
and no tomcat (your servlet container) do not takecare of synchronization stuff.
I agree. Here's the link:
subject: Where do I need synchronization in Servlets?
Help using Hypersonic DB with Tomcat
Optimizing Database Connection ?
Hypersonic DB and Tomcat Question
How can servlets sent XML files?
Java.exe application error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015