1. A distributed system, comprising: a first message broker configured for encapsulating and exchanging a message among a plurality of clients and servers using incompatible protocols; an intermediary client interfacing the first message broker and a user agent, and configured for generating the message, wherein a user of the user agent is unable to view the message generated by the intermediary client; a second message broker configured for communicating with the first message broker over a data network, the second message broker interfacing an application server; a storage device for storing a resource remote from a user agent, said resource containing markup source and at least one instruction for calling the second message broker to communicate the message to an application at the application server; and a preprocessor configured for preprocessing the resource in response to a communication from the user agent specifying the resource, the preprocessing including: in response to executing the at least one instruction, calling the second message broker based on the communication to communicate the message to the application at the application server in a protocol not supported by the user agent; generating markup based on the markup source contained in the resource; and sending the generated markup to the user agent.