×

Method for client-side aggregation of asynchronous, context-sensitive request operations for java server pages (JSP)

  • US 8,185,610 B2
  • Filed: 12/04/2007
  • Issued: 05/22/2012
  • Est. Priority Date: 12/04/2007
  • Status: Expired due to Fees
First Claim
Patent Images

1. In an application server receiving a request for dynamic web content, a method comprising:

  • defining a number of custom Java classes within a class library, wherein said classes allow an asynchronous processing of a number of requests for dynamic web content;

    receiving at the application server, from a client, one or more asynchronous requests for a dynamic web content;

    said application server calling a dispatcher function to handle the asynchronous processing of each associated request dispatcher include fragment;

    initiating a separate request thread for each fragment following receipt of the one or more asynchronous requests;

    generating a Java Server Page (JSP) comprising one or more “

    async include”

    tags that indicate that the JSP represents an asynchronous request for the dynamic web content;

    writing, to a servlet response buffer, a placeholder corresponding to each JSP having an “

    async include”

    tag;

    creating JavaScript for each placeholder;

    sending an initial response containing the JavaScript to the client;

    terminating an original execution thread;

    triggering a number of further processing actions to facilitate the generation of one or more response fragments; and

    transferring the one or more response fragments to the client in response to receipt from the client of one or more poll requests that are facilitated by the JavaScript contained in each placeholder, wherein the JavaScript enables the client to retrieve include fragments which replace corresponding placeholders.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×