Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
subject: Where do I need synchronization in Servlets?
How can servlets sent XML files?
Java.exe application error
Hypersonic DB and Tomcat Question
Help using Hypersonic DB with Tomcat
Optimizing Database Connection ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013