METHOD AND SYSTEM FOR IMPROVING CLIENT-SERVLET COMMUNICATION

The present invention provides a method and system for improving the client-Servlet communication in the World-Wide-Web (Web) without changing the existing communication protocol, and without changing the client. The existing prior art one-way communication path between client and Servlet remains un...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: RASPL STEFAN, SAILLET YANNICK
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present invention provides a method and system for improving the client-Servlet communication in the World-Wide-Web (Web) without changing the existing communication protocol, and without changing the client. The existing prior art one-way communication path between client and Servlet remains unchanged if the initial request includes all information for retrieving the desired information. However in the case the Servlet identifies missing information not included in the initial client's web-browser request for retrieving the information desired, the Servlet automatically opens an another communication path for providing the missing information to the Servlet by making use of the HTTP-response functionality of said initial HTTP-request, wherein the another communication path is supported by a further Servlet functionality component and is characterized by the steps of: generating a script-when executed at the client's web-browser retrieves the missing information and invokes the further Servlet functionality component-by the Servlet, appending the script to said HTTP-response indicating it as a partial response, sending the HTTP-response including the script to the client's web-browser, suspending execution of the initial HTTP-response by the Servlet until the missing information will be available, receiving the missing information by the further Servlet functionality component, wherein the missing information is contained in a new HTTP-request created by the script during its execution on the client's web-browser, providing the missing information to the Servlet, and continuing execution of the initial HTTP-response by the Servlet using the missing information for retrieving the rest of the said HTTP-response and providing the rest of the HTTP-response to the client's web-browser for displaying.