This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "guide me" Watch "guide me" New topic
Author

guide me

Puneet Mathur
Greenhorn

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

Joined: Mar 22, 2005
Posts: 42360
    
  64
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 - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: guide me