Главная страница | назад





Article #15077: Minimizing Connections

 Question and Answer Database
FAQ77D.txt Minimizing Connections
Category :DCOM/MultiTier/ActiveForm
Platform :All
Product :Delphi 3.x
Question:
How can I demonstrate the use of fewer database connections than
clients using our three-tier application? For example, I would
like to show 10 clients using no more than 5 database
connections.
Answer:
Actually, you can have all 10 clients use 1 database
connection. Put a TDatabase on the RemoteDataModule and set
HandleShared to True. The database will login once no matter
how many clients are connected to your application.
?Note: Be sure to check your licensing agreement with the
database server vendor. The fact that it's possible doesn't
unburden you of any licensing obligations you may have.?
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99