BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

I Need a GOOD 3 Tier Example

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Serre
Guest





PostPosted: Mon Feb 16, 2004 11:24 am    Post subject: I Need a GOOD 3 Tier Example Reply with 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 Stephenson
Guest





PostPosted: Mon Feb 16, 2004 8:43 pm    Post subject: Re: I Need a GOOD 3 Tier Example Reply with quote



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





PostPosted: Tue Feb 17, 2004 11:15 am    Post subject: Re: I Need a GOOD 3 Tier Example Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.