A broker of the present invention enables distributed applications to
communicate with a server in distributed computing environment. The
broker receives from a client a request to execute a transaction. The
broker receives input parameters including input data. The broker uses a
routing service to locate the server. The broker then establishes a
communications connection to the server and forwards the input data. The
transaction is executed and the broker receives a response from the
server. The broker forwards the response to the client. The broker can
segment the input data before forwarding the input data to the server. If
the response is in multiple segments, the broker can combine the multiple
segments into one string before forwarding the response to the client.
Further, the broker may receive requests from multiple clients via
multiple communications connections. The broker then consolidates the
multiple communications connections and establishes one communications
connection to the server.