RAD Studio |  |

Using TSimpleObjectBroker
See Also
Collapse All

If you have multiple COM-based servers that your client application can choose from, you can use an Object Broker to locate an available server system.

To use TSimpleObjectBroker

1. Choose FileNewOther. The New Items dialog appears.
2. In the New Items dialog, select Delphi Projects and double-click VCL Forms Application. The Windows Designer displays.
3. From the DataSnap category of the Tool Palette, choose the connection component depending on the kind of connection you want.
4. From the Tool Palette, drag a TSimpleObjectBroker to the form.
5. In the Object Inspector, set the ObjectBroker property of the connection component that you chose in Step 3 to use this broker.

Warning: Do not use the ObjectBroker property with SOAP connections.
See Also

Using DataSnap

Connecting To Application Server

Using TLocalConnection or TConnectionBroker

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!