Board index » delphi » Remote Data Module Inheritance

Remote Data Module Inheritance


2003-11-17 04:24:18 PM
delphi68
Hello folks.
I want to create an application server . Ok New Project and Add remote Data
Module.
This first Remote Data Module Supposed to be the abstract class. I am inherit
this remote object and adding on it
an DataSet and Provider and Name it as MyRemoteData2 . What changes i must
do to Type Library so add some custom interfaces wich implemented in
MyRemoteData2. How can i call this interfcaes from client ('i.m meen what i
must do on client so call MyRemoteData2 from application server.). Example
pls !!!!!!!!!!!. How must declared in server ?????
Thanks
Stefanides Dimitris
 
 

Re:Remote Data Module Inheritance

On Mon, 17 Nov 2003 10:24:18 +0200, Stefanidis Dimitris writes:
Quote
Hello folks.
I want to create an application server . Ok New Project and Add remote Data
Module.
This first Remote Data Module Supposed to be the abstract class. I am inherit
this remote object and adding on it
an DataSet and Provider and Name it as MyRemoteData2 . What changes i must
do to Type Library so add some custom interfaces wich implemented in
MyRemoteData2.
For example you can create new interface and implement it only in
MyRemoteModule2. The new interface can use the interface of the first
module as parent interface. I am doing this in Delphi 6 and there are some
problems with automatically generated code, but if you are careful it is
OK.
Quote
How can i call this interfcaes from client ('i.m meen what i
must do on client so call MyRemoteData2 from application server.). Example
pls !!!!!!!!!!!. How must declared in server ?????
When connecting to the application server you specify the name of the
server as : <application exe-name>.<classname of RDM>, so this name
determines which class of RDM is created.
 

Re:Remote Data Module Inheritance

I explain how to inherit RDMs here:
delphi.weblogs.com/stories/storyReader$195
It's not as easy as it should be, but it does work.
-Craig
--
Craig Stuntz [TeamB] . Vertex Systems Corp. . Columbus, OH
Delphi/InterBase Weblog : delphi.weblogs.com
Useful articles about InterBase and Delphi development:
delphi.weblogs.com/articles