Article View: borland.public.delphi.database.dotnet
Article #81Re: Multitier application - note to Bob Swart
From: Bob Swart
Date: Thu, 12 Jan 2006 23:07
Date: Thu, 12 Jan 2006 23:07
57 lines
3476 bytes
3476 bytes
Hi Hamed,
> I hope one of you guys help me to make a decision, especially Bob Swart :
(voice of Mr. Lurch) You rang, sir? ;-)
> I would like to use .Net, VCL forms (not WinForms). Which technology do you
> think is the best (DataSnap, or other things)?
With DataSnap, you can only build Win32 servers. That's a bit of a
bummer... You could check out RemObjects SDK to build multi-tier Delphi
applications using Win32 and .NET (mixing them as you want).
> Can I use acombination of them? For example can I use BDP .NET in server
> application but not in Client?
If you use BDP or ADO.NET in the server, then you are probably exporting
a .NET DataSet, which is something any client can receive, but which is
hard to understand if you're not a .NET client. You can of course build
a .NET VCL client, but it won't be able to bind the .NET DataSet to the
VCL DB aware controls, unless you use the hardly documented
TADONETConnector, see http://www.drbob42.com/examines/examin62.htm
(but perhaps I should also cover how to work with .NET DataSets in
regular VCL controls - or try to build my own data-aware VCL components
to connect to .NET DataSets. Hmm...)
> I found some good articles in DrBob.com. The best one I liked was using
> TADONETConnector which is a bridge from ADO .NET to VCL forms. I don't know
> how to use the same approach, but using server application in another
> machine. And would that be a good idea for my app? The example in Dr Bob's
> examines comes with Web Service. When I tried to do the same with
> TListConnector and BDP.NET, it was not the same.
For the server you should also be able to use the DataSync/DataHub and
RemoteServer with RemoteConnection components. Or just .NET Remoting
itself (see the other "Dr.Bob Examines" articles for some examples -
although none are using the TADONETConnector again).
> And finally, if Mr. Bob Swart is reading this message:
> Bob, I appreciate your help. If you could direct me to the right way, I want
> to buy one of your course books from your site that is related to that way.
I hadn't read this far when I started to answer your message - but I
believe the "ADO.NET" and "XML, SOAP & Web Services" titles cover parts
of what you're looking for ;-)
> Thanks a lot
>
> Hamed
Groetjes,
Bob Swart (aka Dr.Bob - www.DrBob42.com)
--
Bob Swart Training & Consultancy (eBob42) - Borland Technology Partner
Blog: http://www.drbob42.com/blog - RSS: http://drbob42.com/weblog.xml
Technical Details
Message-ID:
<43C6E11D.BFEA0806@chello.nl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<43c6dc64$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,a27a25840ef65884 X-Google-Attributes: gid1effe6,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <43C6E11D.BFEA0806@chello.nl> Date: Fri, 13 Jan 2006 00:07:09 +0100 From: Bob Swart <b.swart@chello.nl> Organization: Bob Swart Training & Consultancy X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.delphi.database.dotnet Subject: Re: Multitier application - note to Bob Swart References: <43c6dc64$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 212.187.74.5 X-Trace: newsgroups.borland.com 1137107089 212.187.74.5 (12 Jan 2006 15:04:49 -0700) Lines: 57 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail