Patent ID: 8689234

Claim:
A method comprising: providing, by a server computing device of a web application framework, a framework socket in a web page rendered on a client device, the framework socket to communicably couple a framework widget to a message broker of the server computing device, wherein the framework widget comprises a web application embedded in the web page; providing pointers to store in the framework widget, the pointers pointing to web application code in the web application framework, wherein the web application code is client-side scripting language logic that interfaces with the client device and is provided to the framework widget from a middleware of the server computing device as the framework widget is delivered to the client device; opening, by the server computing device, a communication connection between the framework socket and one or more proxies of the server computing device; providing, by the proxies of the server computing device, protocol translation between the framework socket of the client device and the message broker of the server computing device; storing, by the server computing device, a topic in a memory associated with the framework widget; sending, by the message broker, a data message corresponding to the topic to the framework widget, wherein the data message is sent from the message broker in real-time without being requested by the framework widget; receiving, by the server computing device from the framework widget, a callback function pointer to a callback function related to the data message sent to the framework widget, wherein the callback function comprises at least a portion of an application code library; and providing, by the server computing device to the framework widget, callback function code that executes the callback function specified by the received callback function pointer, the callback function code to perform additional processing of the data message to alter a display of the data message at the framework widget on the client device.