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 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.
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
18 Claims
-
1. 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 (2, 3, 4, 5, 6)
-
-
7. A system comprising:
a computing device configured to execute a method, the method 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 (8, 9, 10, 11, 12)
-
13. A computer readable storage medium storing thereon program instructions that, when executed, cause an executing device to:
-
receive a request directed to a backend application interface from an interface proxy, the interface proxy replicating services exposed by the backend application; identify a communication mode for the application; if the communication mode is a stateful mode; open a connection to the backend application interface; send the request to the backend application interface over the connection; and if a second request is received for the same application interface, maintain the connection, otherwise closing the connection; if the communication mode is a stateful-over-stateless mode; queue the request in a command queue; if the command queue contains previous requests for the same user interaction as the request, send the previous requests to the application interface to establish a previous state of the application interface; and send the request to the backend application; if the communication mode is a stateless mode; open a connection to the backend application interface; send the request to the backend application interface over the connection; and close the connection; and receive a response from the backend application interface; and send the response to the interface proxy. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification