RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSimpleObjectBroker Class

TSimpleObjectBroker maintains a list of available application servers for a connection component.

Pascal
TSimpleObjectBroker = class(TCustomObjectBroker);
C++
class TSimpleObjectBroker : public TCustomObjectBroker;

TSimpleObjectBroker maintains a list of servers, all of which run the application server for a multi-tiered application. When a connection component requests a server, the simple object broker passes the name of one of the available servers in the list. This process allows client applications to locate server systems dynamically at runtime. If there are redundant server systems, this allows client applications to continue functioning when a server goes down. 

TSimpleObjectBroker can randomize the selection of servers from among the currently available servers in its list to provide a simple system of load balancing. 

 

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