Vote UpVote

Registering DataSnap Server Class in runtime with Delphi

Andreano Lanusse – When we are working to create a DataSnap application we need to register the Server classes in order to provide access to the client application to the server methods. The natural way is to use the DSServerClass component, but some time we want do it in run time. The following code shows how to do that, the TSimpleServerClass inherit from TDSServerClass and overload/reintroduce the Create method, adding the parameters ServerClass, DataSnap Server and LifeCycle. type TSimpleServerClass = class(TDSServerClass) private FPersistentClass: TPersistentClass; protected function ...
Favorite? Off-Topic? Andreano Lanusse @ 2010-12-01 00:53


Visits: 404
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Francis Ruiz
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)