This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Servlets and the fly likes guide me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "guide me" Watch "guide me" New topic

guide me

Puneet Mathur

Joined: Dec 02, 2007
Posts: 3
How to handle multiple concurrent database requests/updates when using JDBC with servlets?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39568
Can you be more elaborate about the problem you're facing? Servlets are multi-threaded; if they were developed in a thread-safe way, then concurrent DB accesses should be no problem as far as the servlet is concerned. Or are you asking about DB issues like transaction isolation?

In the future, please UseAMeaningfulSubjectLine.
[ December 03, 2007: Message edited by: Ulf Dittmer ]

Ping & DNS - updated with new look and Ping home screen widget
Don't get me started about those stupid light bulbs.
subject: guide me