 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Serre Guest
|
Posted: Mon Feb 16, 2004 11:24 am Post subject: I Need a GOOD 3 Tier Example |
|
|
Hi,
I'm looking for a good 3-Tier example for Delphi 5 or 6.
Especially really distributed (database, applicationserver and clients
all on separate machines).
I'm new on this matter, and though I worked with Interfaces in COM-dll's,
it's not the same with remote datamodules on an applicationserver (I
think).
I got something working right now and it's 3 tier, but it's all on the
same machine. My guess is that the Type Librarys are very important when
it needs to be distributed??
Another thing I'm looking for, is how to keep track of the number of
databaseconnections on the applicationserver (writing to a logfile each
hour).
Could someone get me started with a good example or weblink on this
material?
I would appreciate it very much.
Thanks,
Serge.
--- posted by geoForum on http://delphi.newswhat.com
|
|
| Back to top |
|
 |
Martin Stephenson Guest
|
Posted: Mon Feb 16, 2004 8:43 pm Post subject: Re: I Need a GOOD 3 Tier Example |
|
|
It sounds like you're almost there with it working on a single machine and
you are correct about the type libraries. To move the client to another
machine you need to take the type libraries to the client machine and
register them there.
You can register the type libraries using the windows utility REGSVR32 or
the delphi supplied one TREGSVR (which you will find in Delphibin).
If you are using COM+ middle tier then database connections will be
created/pooled and freed for you as needed by COM+ (mts). We find COM+
works well for us with the same objects being used by GUI/ISAPI clients and
will hopefully be adding webservices interfaces soon. Transaction
management is also handled by COM+ for you.
I'm sorry I cant provide more info at the moment, but I'll try forward you
some links tomorrow when I'm at work Check out Dr Bobs site and borland
site for more info on Delphi/COM+
Regards
Martin.
"Serre" <robert_in_2003 (AT) yahoo (DOT) com> wrote
| Quote: | Hi,
I'm looking for a good 3-Tier example for Delphi 5 or 6.
Especially really distributed (database, applicationserver and clients
all on separate machines).
I'm new on this matter, and though I worked with Interfaces in COM-dll's,
it's not the same with remote datamodules on an applicationserver (I
think).
I got something working right now and it's 3 tier, but it's all on the
same machine. My guess is that the Type Librarys are very important when
it needs to be distributed??
Another thing I'm looking for, is how to keep track of the number of
databaseconnections on the applicationserver (writing to a logfile each
hour).
Could someone get me started with a good example or weblink on this
material?
I would appreciate it very much.
Thanks,
Serge.
--- posted by geoForum on http://delphi.newswhat.com
|
|
|
| Back to top |
|
 |
Martin Guest
|
Posted: Tue Feb 17, 2004 11:15 am Post subject: Re: I Need a GOOD 3 Tier Example |
|
|
This might help
http://www.techvanguards.com/ This is the best site by far
http://homepages.borland.com/ccalvert/TechPapers/Delphi/Transact.html
http://www.microsoft.com/com/wpaper/mtscomp.asp
http://www.blunck.info/comtrace.html
"Serre" <robert_in_2003 (AT) yahoo (DOT) com> wrote
| Quote: | Hi,
I'm looking for a good 3-Tier example for Delphi 5 or 6.
Especially really distributed (database, applicationserver and clients
all on separate machines).
I'm new on this matter, and though I worked with Interfaces in COM-dll's,
it's not the same with remote datamodules on an applicationserver (I
think).
I got something working right now and it's 3 tier, but it's all on the
same machine. My guess is that the Type Librarys are very important when
it needs to be distributed??
Another thing I'm looking for, is how to keep track of the number of
databaseconnections on the applicationserver (writing to a logfile each
hour).
Could someone get me started with a good example or weblink on this
material?
I would appreciate it very much.
Thanks,
Serge.
--- posted by geoForum on http://delphi.newswhat.com
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|