Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDBC server-side internal connection in multi-threaded highly concurrent environment - patterns

Jaba1974Jan 16 2014 — edited Oct 15 2014

Hello,

I'm seeking a good patterns guidance for proper handling of the above-mentioned connection type.

It's gonna be implemented as a Java Servlet and I'm not able to find anything useful around.

After my investigations, it turns out that all Oracle's Connection class methods are synchronized, so they are thread safe, but provide no performance gain in concurrent calls and he solution to the problem would be connection pool. However, I would highly appreciate any detailed advice on that ...

Thanks in advance for you help!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2014
Added on Jan 16 2014
10 comments
2,181 views