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 directed to a backend application from an interface proxy;
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;
opening a connection to the backend application;
sending the request to the backend application; and
if the backend application is to maintain state between consecutive requests, keeping the connection open until the user operation is complete.
2 Assignments
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.
-
Citations
12 Claims
-
1. A method for executing a request in a business system, comprising:
-
receiving a request directed to a backend application from an interface proxy; 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; opening a connection to the backend application; sending the request to the backend application; 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)
-
-
6. A method for executing a request in a business system, comprising:
-
receiving a request directed to a backend application interface from an interface proxy, the interface proxy replicating services exposed by the backend application; identifying a communication mode for the application; if the communication mode is a stateful mode; opening a connection to the backend application interface; sending the request to the backend application interface over the connection; and if a second request is received for the same application interface, maintaining the connection, otherwise closing the connection; if the communication mode is a stateful-over-stateless mode; queuing the request in a command queue; if the command queue contains previous requests for the same user interaction as the request, sending the previous requests to the application interface to establish a previous state of the application interface; and sending the request to the backend application; if the communication mode is a stateless mode; opening a connection to the backend application interface; sending the request to the backend application interface over the connection; and closing the connection; and receiving a response from the backend application interface; and sending the response to the interface proxy. - View Dependent Claims (7, 8)
-
-
9. 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. - View Dependent Claims (10, 11, 12)
-
Specification