System and method for switching between stateful and stateless communication modes
First Claim
1. A method for executing a request in a business system, comprising:
- receiving a request, from a user operation, directed to a backend application from an interface proxy, the interface proxy replicating services exposed by the backend application;
identifying a communication mode associated with the backend application, the communication mode defining whether the backend application is to maintain state between consecutive requests generated by the same user operation;
if the communication mode is a stateful-over-stateless mode, the request is queued with previous requests generated by the same user operation in a command queue;
opening a connection to the backend application;
if the command queue contains previous requests for the same user operation as the request, sending the previous requests to the backend application prior to sending the request to the backend application;
sending the request to the backend application, wherein the sending further comprising transferring the request to the backend application over a state boundary; and
if the backend application is to maintain state between consecutive requests, keeping the connection open until the user operation is complete.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and systems for specifying the state of an application interface during configuration of the business system are provided. A state controller can manage communication between application interfaces and interface proxies. Each interface proxy replicates the services exposed by an application interface associated with backend applications in a business system. The state controller allows each application to operate in a stateful mode, a stateless mode, or a combined mode. The mode for an application can be specified during configuration/installation of the business system, removing the need to specify communication modes for applications during design and development of the applications and business system. The use of an interface proxy allows user interface (frontend) application to be developed and/or configured individually, and without regard to the communication mode used by the backend applications.
18 Citations
12 Claims
-
1. A method for executing a request in a business system, comprising:
-
receiving a request, from a user operation, directed to a backend application from an interface proxy, the interface proxy replicating services exposed by the backend application; identifying a communication mode associated with the backend application, the communication mode defining whether the backend application is to maintain state between consecutive requests generated by the same user operation; if the communication mode is a stateful-over-stateless mode, the request is queued with previous requests generated by the same user operation in a command queue; opening a connection to the backend application; if the command queue contains previous requests for the same user operation as the request, sending the previous requests to the backend application prior to sending the request to the backend application; sending the request to the backend application, wherein the sending further comprising transferring the request to the backend application over a state boundary; and if the backend application is to maintain state between consecutive requests, keeping the connection open until the user operation is complete. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus comprising:
-
a command queue to collect communication requests from an interface proxy, the interface proxy replicating services exposed by a backend application interface; a command bus to transport requests between the command queue and the backend application interface; and a state handler to control connections and specify communication modes between the command bus and the application interface; wherein the state handler performs; receiving a request, from a user operation, directed to the backend application interface from the interface proxy; identifying a communication mode associated with the backend application interface, the communication mode defining whether the backend application interface is to maintain state between consecutive requests generated by the same user operation; if the communication mode is a stateful-over-stateless mode, the request is queued with previous requests generated by the same user operation in the command queue; opening a connection to the backend application interface; if the command queue contains previous requests for the same user operation as the request, sending the previous requests to the backend application interface prior to sending the request to the backend application interface; sending the request to the backend application interface, wherein the sending further comprising transferring the request to the backend application interface over a state boundary; and if the backend application interface is to maintain state between consecutive requests, keeping the connection open until the user operation is complete. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory computer readable storage medium storing thereon program instructions that, when executed, cause an executing device to:
-
receive a request, from a user operation, directed to a backend application from an interface proxy, the interface proxy replicating services exposed by the backend application; identify a communication mode associated with the backend application, the communication mode defining whether the backend application is to maintain state between consecutive requests generated by the same user operation; if the communication mode is a stateful-over-stateless mode, the request is queued with previous requests generated by the same user operation in a command queue; open a connection to the backend application; if the command queue contains previous requests for the same user operation as the request, send the previous requests to the backend application prior to sending the request to the backend application; send the request to the backend application, wherein the sending further comprising transferring the request to the backend application over a state boundary; and if the backend application is to maintain state between consecutive requests, keep the connection open until the user operation is complete. - View Dependent Claims (10, 11, 12)
-
Specification