摘要:
A method, system, and computer program product for efficiently fulfilling java server page (JSP) requests for dynamic web content, in a computer network system. An asynchronous processing (AP) utility pre-defines a number of custom classes to enable the asynchronous processing of requests. A JSP which contains a custom “async:include” tag indicates an asynchronous request for dynamic content. When a set of asynchronous requests are received by an application server, an “AsyncRequestDispatcher” is called to handle the asynchronous processing of each associated request dispatcher include fragment. For each fragment, a separate request thread is initiated. A placeholder corresponding to each “async:include” request is written to a servlet response buffer. HyperText Markup Language (HTML) content, which includes the placeholders, and a number of javascripts are then written to the client browser. The original thread is closed. The Javascripts enable the retrieval of all response fragments which replace the corresponding placeholders.
摘要:
A local server requests a resource from a remote server by using a remote request dispatcher (RRD) request that has been extended to utilize a javascript object notation (JSON).
摘要:
The ability to leverage a publish/subscribe functionality in an application server environment has allowed the storage of cached entries to be stored over multiple clients rather than on a single application server, freeing up valuable resources. However, in this arrangement it is not possible for the originating server to validate shared content originating from client-side storage. The present invention provides a system and method for securing and validating content from asynchronous include request utilizing public key cryptography and hashing functions.
摘要:
The present invention discloses a solution of a server-side result distribution service software program. The program can receive and store results related to a request context from different content providing servers. Asynchronous requests can be received from a client, which initiated a content request that defines the request context. A level of completeness for the request results that satisfies the received client request can be determined. The level of completeness can be compared against a previously established threshold. Either dynamically processed results or previously cached results can be delivered to the client depending upon an outcome of the comparing step. Server-side operations that produce the dynamically processed results can be operations initiated after the content request is sent by the client. Previously cached results can be generated from processes initiated before the content request is sent by the client.
摘要:
A method, system, and computer program product to transparently dispatch requests to a remote resource using a remote request dispatcher (RRD) in a managed multiple application server environment. The method includes executing a local resource on a local Web module on a local application server. The local resource contains a reference to a remote resource on a remote Web module on a remote application server. The method also includes building an RRD request object on the local application server, and sending the RRD request object to the remote application server. Upon receipt, the method further includes generating a request on the remote application server to an internal controller servlet to perform an include operation on the remote resource, intercepting the request to the internal controller servlet on the remote application server, wrapping the request to the servlet with information received in the RRD request object, and building an RRD response object on the remote application.
摘要:
The present invention provides a solution for sharing server generated output to satisfy requests for content originated by different clients. More specifically, a server side resource can analyze a content request and compare this request to a set of active request handling operations. When one of the active operations is capable of satisfying a discrete portion of the content request, an association can be established between the active operation and the content request. When the active operation produces results, these results are returned to satisfy a request of an original client as well as to satisfy a request of a client that issued the content request. The solution can be implemented in a variety of environments, including one where asynchronous server-side operations are conducted by different server-side resources for a single request context.
摘要:
The present invention discloses a solution for handling HTTP requests for content produced asynchronously by multiple servers, where a requesting client aggregates content. In the solution, a client can issue a content request to a request receiving server. The content request can define a request context. The request receiving server can deliver initial content including placeholders to the client, can issue asynchronous requests to multiple placeholder content servers, and can thereafter terminate threads/processes and can free resources involved in handling the request context. Each of the placeholder content servers can process one of the asynchronous requests and can convey placeholder content results to a result distribution service. The result distribution service can provide the client with the placeholder content. The client can aggregate the content from all sources.
摘要:
A request dispatcher can automatically switch between processing request dispatches (e.g., include( )) in a synchronous mode and an asynchronous mode. Each dispatch can be associated with a unique identification value such as a process ID or Uniform Resource Identifier (URI), historic metrics, and a ruleset. With each execution of the request dispatch, historic metrics can be collected. Metrics can include, but is not limited to, execution duration and/or execution frequency, processor load, memory usage, network input/output, number of dependent dispatches, and the like. Utilizing historic metrics, rules can be constructed for determining which mode to execute the subsequent execution of the dispatch. As such, runtime optimization of Web applications can be further improved.
摘要:
The present invention discloses a solution of a server-side result distribution service software program. The program can receive and store results related to a request context from different content providing servers. Asynchronous requests can be received from a client, which initiated a content request that defines the request context. A level of completeness for the request results that satisfies the received client request can be determined. The level of completeness can be compared against a previously established threshold. Either dynamically processed results or previously cached results can be delivered to the client depending upon an outcome of the comparing step. Server-side operations that produce the dynamically processed results can be operations initiated after the content request is sent by the client. Previously cached results can be generated from processes initiated before the content request is sent by the client.
摘要:
The present invention provides a solution for sharing server generated output to satisfy requests for content originated by different clients. More specifically, a server side resource can analyze a content request and compare this request to a set of active request handling operations. When one of the active operations is capable of satisfying a discrete portion of the content request, an association can be established between the active operation and the content request. When the active operation produces results, these results are returned to satisfy a request of an original client as well as to satisfy a request of a client that issued the content request. The solution can be implemented in a variety of environments, including one where asynchronous server-side operations are conducted by different server-side resources for a single request context.