Re: Web application using jdbc driver an OEM application?
- From: "Alin Sinpalean" <alin@xxxxxxxxxxxxx>
- Date: 27 May 2005 08:00:35 -0700
Kim,
jTDS is thread safe at the Connection level. Different Connection
instances have no relationship to one another whatsoever so that's
going to be safe anyway.
Also, a Connection instance is thread safe as long as Statements are
not shared between threads, i.e. you can share a Connection between 10
threads, each using a separate Statement created from that Connection.
I wouldn't recommend this, however, because requests and responses have
to be serialized over a single TCP/IP connection and this will affect
performance.
So basically yes, it's completely safe to use jTDS within a web
application. At least as safe as with any other driver.
Alin,
The jTDS Project.
.
- References:
- Web application using jdbc driver an OEM application?
- From: Kim
- Re: Web application using jdbc driver an OEM application?
- From: Lee Fesperman
- Re: Web application using jdbc driver an OEM application?
- From: Kim
- Web application using jdbc driver an OEM application?
- Prev by Date: need confirmation on some EJB Entity-CMP limitations ...
- Next by Date: Re: Acess97 and JDBC
- Previous by thread: Re: Web application using jdbc driver an OEM application?
- Next by thread: Streaming Resultset to Web Page
- Index(es):
Relevant Pages
|