Thread View: borland.public.cppbuilder.database.multi-tier
5 messages
5 total messages
Started by Adrian Mercieca
Mon, 20 Aug 2007 12:56
Custom ScktSrvr implementations?
Author: Adrian Mercieca
Date: Mon, 20 Aug 2007 12:56
Date: Mon, 20 Aug 2007 12:56
4 lines
886 bytes
886 bytes
Hi, Is it possible for one to write his own implementation of ScktSrvr? Tks - Adrian.
Re: Custom ScktSrvr implementations?
Author: Bob Swart
Date: Mon, 20 Aug 2007 13:16
Date: Mon, 20 Aug 2007 13:16
24 lines
1880 bytes
1880 bytes
Hi Adrian,
> Is it possible for one to write his own implementation of ScktSrvr?
The (Delphi) source code is included as ScktSrvr.dpr in the following
places (depending on your version of C++Builder):
C:\Program Files\CodeGear\RAD Studio\5.0\source\Win32\db
C:\Program Files\Borland\BDS\4.0\source\Win32\vcl
C:\Program Files\Borland\CBuilder6\source\vcl
It's also possible to write an interceptor DLL (but again I've only done
this with Delphi - see TDM #78 at http://www.drbob42.com/tdm/ to
download the free Delphi source code for the example).
> Tks - Adrian.
Groetjes,
Bob Swart
--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux)
Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml
Re: Custom ScktSrvr implementations?
Author: Adrian Mercieca
Date: Tue, 21 Aug 2007 05:55
Date: Tue, 21 Aug 2007 05:55
33 lines
1963 bytes
1963 bytes
Hi Bob, Thanks for your answer. Erm, what is an interceptor DLL? Tks - Adrian. "Bob Swart" <Bob@BobSwart.com> wrote in message news:46C9942A.7010804@BobSwart.com... > Hi Adrian, > >> Is it possible for one to write his own implementation of ScktSrvr? > > The (Delphi) source code is included as ScktSrvr.dpr in the following > places (depending on your version of C++Builder): > > C:\Program Files\CodeGear\RAD Studio\5.0\source\Win32\db > C:\Program Files\Borland\BDS\4.0\source\Win32\vcl > C:\Program Files\Borland\CBuilder6\source\vcl > > It's also possible to write an interceptor DLL (but again I've only done > this with Delphi - see TDM #78 at http://www.drbob42.com/tdm/ to download > the free Delphi source code for the example). > >> Tks - Adrian. > > Groetjes, > Bob Swart > > -- > Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi > CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux) > Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml
Re: Custom ScktSrvr implementations?
Author: Bob Swart
Date: Tue, 21 Aug 2007 07:47
Date: Tue, 21 Aug 2007 07:47
25 lines
1871 bytes
1871 bytes
Hi Adrian,
> Thanks for your answer.
You're welcome.
> Erm, what is an interceptor DLL?
Using the Socket Server in DataSnap, we can use socket interceptions:
peeking into what's happening between the client and the server when you
use the SocketConnection component. You can use the IDataIntercept
interface and the TPacketIntercept class to write your own DLL that must
be registered with the SocketServer application as well as the
TSocketConnection component and can be used to compress, encrypt, log or
do whatever with the data packets that you wish...
> Tks - Adrian.
Groetjes,
Bob Swart
--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux)
Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml
Re: Custom ScktSrvr implementations?
Author: Adrian Mercieca
Date: Tue, 21 Aug 2007 09:23
Date: Tue, 21 Aug 2007 09:23
33 lines
2580 bytes
2580 bytes
Hi Bob, > Using the Socket Server in DataSnap, we can use socket interceptions: > peeking into what's happening between the client and the server when you > use the SocketConnection component. You can use the IDataIntercept > interface and the TPacketIntercept class to write your own DLL that must > be registered with the SocketServer application as well as the > TSocketConnection component and can be used to compress, encrypt, log or > do whatever with the data packets that you wish... > That sounds *very* good. Thanks again. Got another question (sorry)... Has anyone thought of a broadcasting scheme of updates between servers and clients? That would be most useful to propagate changes in a live/push fashion I would think. As background, I have loads of experiencing developing 3-tier apps using the ACE/TAO Corba implementation with servers written in C++ running on Linux and the gui written with C++ builder running on windows. This is a proven framework and is very fast and very robust. Yet, it's not RAD; DataSnap, though somewhat limited compared to CORBA/C++/hand-wiring, offers RAD in proven paradigm. Yes, I have read quite a few negative comments on the net about DataSnap. Admittedly, I have no experience with it and so must rely on other people's experiences with it. What's your opinion about DataSnap's robustness, performance and scalability? I'm very tempted to give it a try. Thanks - Adrian.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads