Composition model for cloud-hosted serving applications
First Claim
Patent Images
1. A method, comprising:
- instantiating a plurality of module types such that a plurality of module objects are generated, wherein the plurality of module types include a request module type and a response module type, wherein each of the plurality of module objects is defined by a corresponding interface definition, wherein the plurality of module types are different classes;
instantiating, by middleware, a query plan linking the plurality of module objects, wherein the plurality of module objects includes an instance of the request module type and an instance of the response module type;
receiving, at the middleware from a horizontal container, a request, wherein the horizontal container provides a context object to the middleware to be passed between the plurality of module objects during execution of the query plan;
receiving, at the middleware from the horizontal container, abstract endpoints corresponding to endpoints in a cloud;
executing, by the middleware, the query plan linking the plurality of module objects such that a response to the request is generated, wherein the instance of the request module type processes the request and wherein the response is formed by the instance of the response module type, wherein the middleware communicates with the endpoints in the cloud via the abstract endpoints; and
returning, by the middleware, the response to the horizontal container.
9 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus for executing an application are disclosed. In accordance with one embodiment, a request is received. One or more of a plurality of module types are instantiated such that a plurality of module objects are generated. A query plan linking the plurality of module objects is executed such that a response to the request is generated. The response is then returned.
7 Citations
28 Claims
-
1. A method, comprising:
-
instantiating a plurality of module types such that a plurality of module objects are generated, wherein the plurality of module types include a request module type and a response module type, wherein each of the plurality of module objects is defined by a corresponding interface definition, wherein the plurality of module types are different classes; instantiating, by middleware, a query plan linking the plurality of module objects, wherein the plurality of module objects includes an instance of the request module type and an instance of the response module type; receiving, at the middleware from a horizontal container, a request, wherein the horizontal container provides a context object to the middleware to be passed between the plurality of module objects during execution of the query plan; receiving, at the middleware from the horizontal container, abstract endpoints corresponding to endpoints in a cloud; executing, by the middleware, the query plan linking the plurality of module objects such that a response to the request is generated, wherein the instance of the request module type processes the request and wherein the response is formed by the instance of the response module type, wherein the middleware communicates with the endpoints in the cloud via the abstract endpoints; and returning, by the middleware, the response to the horizontal container. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method, comprising:
-
generating, by middleware, one or more query plans by instantiating a plurality of module types such that a plurality of module objects are generated for each of the query plans, wherein the plurality of module types are different classes, wherein each of the plurality of module objects is defined by a corresponding interface definition; receiving, at the middleware from a horizontal container, a request; receiving, at the middleware from the horizontal container, abstract endpoints corresponding to endpoints in a cloud; identifying, by the middleware, one of the query plans to process the request; executing, by the middleware, the identified query plan such that a response to the request is generated, wherein the horizontal container provides a context object to the middleware to be passed between the plurality of module objects of the query plan during execution of the query plan, wherein the middleware communicates with the endpoints in the cloud via the abstract endpoints; and returning, by the middleware to the horizontal container, the response. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A system, comprising:
-
means for instantiating, by middleware, one or more query plans such that each of the query plans links a corresponding plurality of module objects; means for instantiating a plurality of module types such that a plurality of module objects are generated, wherein each of the plurality of module objects is defined by a corresponding interface definition; means for receiving, by the middleware, a request from a horizontal container; means for receiving, by the middleware, abstract endpoints corresponding to endpoints in a cloud; means for executing, by the middleware, at least one of the query plans linking a corresponding plurality of module objects such that a response to the request is generated, wherein the horizontal container provides a context object to the middleware to be passed between the plurality of module objects during execution of the query plan, wherein the middleware communicates with the endpoints in the cloud via the abstract endpoints; and means for returning the response by the middleware to the horizontal container. - View Dependent Claims (25, 26)
-
-
27. A system, comprising:
-
one or more processors; and one or more memories, wherein the processors and the memories are configured to provide; middleware configured to generate one or more query plans by instantiating a plurality of module types such that a plurality of module objects are generated for each of the query plans, identify one of the query plans to generate a response to a request, and execute the identified query plan, wherein the plurality of module types are different classes, wherein each of the plurality of module objects is defined by a corresponding interface definition, wherein the identified query plan is executed using the interface definition of each of the plurality of module objects; and a container configured to receive a request and forward the request to the middleware, and configured to receive a response from the middleware and return the response, wherein the container provides a context object to the middleware to be passed between the plurality of module objects of a query plan during execution of the query plan; wherein the container is further configured to communicate abstract endpoints to the middleware, where the abstract endpoints are mapped to endpoints in a cloud; wherein the middleware is further configured to communicate with the abstract endpoints. - View Dependent Claims (28)
-
Specification