Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM+ and SQL Server 2K App Optimization

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm developing a client-side application that uses ADO to access a SQL Server 2000 database in a large network (lots of computers would have this app). I read that using MTS could speed up the average data access time, because MTS technology could pool the resources that those connections use together. I also read that COM+ encapsulates this technology.

How do I make a COM+ object that allows my client-side app to take advantage of this pooling, or, is this already done via ADO or otherwise? I understand the concept but not the implementation.
 
Basically, when connecting to the SQL Server, you must keep the Username and password the same.

i.e. UID=user;PWD=knockknock;"

This way, using OLEDB, it will automatically pool your connections for you. You will not have to write extra code

If you use different Usernames and password, your connections will not get pooled efficiently

Xplain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top