Annotation based development platform for asynchronous web services
First Claim
Patent Images
1. A method of specifying an asynchronous web service within a procedural programming environment, the method comprising:
- providing a source code representation of at least a portion of web service logic, the logic including at least one method declared to be a callback method; and
identifying a member variable declared to implement said callback method to cause a compiler to generate a client proxy object for interacting asynchronously with the client using said callback method, and to assign the client proxy object to said member variable.
2 Assignments
0 Petitions
Accused Products
Abstract
An annotation based development platform for asynchronous web services is described. In one embodiment, the developer expresses logic offered by the web service using a standard programming language augmented with declarative annotations specifying preferences for exposing that logic as an asynchronous web service. At compile time, an enhanced compiler analyzes the annotated source file and automatically generates the mechanisms required to expose its functionality as an asynchronous web service.
237 Citations
84 Claims
-
1. A method of specifying an asynchronous web service within a procedural programming environment, the method comprising:
-
providing a source code representation of at least a portion of web service logic, the logic including at least one method declared to be a callback method; and
identifying a member variable declared to implement said callback method to cause a compiler to generate a client proxy object for interacting asynchronously with the client using said callback method, and to assign the client proxy object to said member variable. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. In a procedural programming environment, a method of returning an asynchronous response to a client, the method comprising:
-
identifying a callback interface associated with the client;
identifying a member variable declared to implement the callback interface;
generating a proxy object that implements the callback interface; and
assigning the proxy object to the member variable. - View Dependent Claims (11, 13, 14, 15, 16, 17, 18, 19)
-
-
12. In an asynchronous web service, a method comprising:
-
receiving a message from a client requesting that a web service method be invoked;
parsing the message to identify the requested web service method in addition to a callback address indicating a location where the client is listening for callbacks from the web service;
storing the callback address in association with a previously generated proxy object; and
invoking the requested web service method.
-
-
20. A method for specifying logic within a procedural programming environment for receiving a callback from an asynchronous web service, the method comprising:
-
identifying a member variable to be used for interacting with said asynchronous web service; and
providing a method associated with said member variable, the method having a signature and containing logic for receiving said callback from said asynchronous web service. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27, 28, 29)
-
-
30. In a web service, a method comprising:
-
generating a request to an external web service using a proxy object previously generated by a compiler based upon a service description file associated with the external web service, wherein the request includes a callback address to identify a location to which the external web service should return a response;
transmitting the request as a request message to the external web service using one or more transmission protocols; and
receiving an asynchronous response from the external web service. - View Dependent Claims (31, 32, 33, 34, 35, 36, 37, 39, 40, 41, 42)
-
-
38. In a web service, a method comprising:
-
receiving a message identifying a callback address, a callback method and a proxy object identifier;
extracting the proxy object identifier from the message;
determining a method to be invoked based at least in part upon the proxy object identifier and the callback method; and
routing the request to the method to be invoked.
-
-
43. An article of manufacture comprising:
-
a storage medium having stored therein a plurality of programming instructions, which when executed provide a graphical interface to facilitate specification of an asynchronous web service within a procedural programming environment including providing a source code representation of at least a portion of web service logic, the logic including at least one method declared to be a callback method, and identifying a member variable declared to implement said callback method to cause a compiler to generate a client proxy object for interacting asynchronously with the client using said callback method, and to assign the client proxy object to said member variable. - View Dependent Claims (44, 45, 46, 47, 48, 49, 50, 51)
-
-
52. An article of manufacture comprising:
a storage medium having stored therein a plurality of programming instructions designed to program an apparatus to return an asynchronous response to a client, which programming instructions when executed enable the apparatus to identify a callback interface associated with the client;
identify a member variable declared to implement the callback interface;
generate a proxy object that implements the callback interface; and
assign the proxy object to the member variable. - View Dependent Claims (53)
-
54. An article of manufacture comprising:
a storage medium having stored therein a plurality of programming instructions designed to program an apparatus to implement an asynchronous web service, which programming instructions when executed enable the apparatus to receive a message from a client requesting that a web service method be invoked;
parse the message to identify the requested web service method in addition to a callback address indicating a location where the client is listening for callbacks from the web service;
store the callback address in association with a previously generated proxy object; and
invoke the requested web service method. - View Dependent Claims (55, 56, 57, 58, 59, 60, 61)
-
62. An article of manufacture comprising:
-
a storage medium having stored therein a plurality of programming instructions, which when executed provide a graphical interface to facilitate specification of an asynchronous web service within a procedural programming environment including identifying a member variable to be used for interacting with said asynchronous web service; and
providing a method associated with said member variable, the method having a signature and containing logic for receiving said callback from said asynchronous web service. - View Dependent Claims (63, 64, 65, 66, 67, 68, 69, 70, 71)
-
-
72. An article of manufacture comprising:
a storage medium having stored therein a plurality of programming instructions designed to program an apparatus to implement an asynchronous web service, which when executed enable the apparatus to generate a request to an external web service using a proxy object previously generated by a compiler based upon a service description file associated with the external web service, wherein the request includes a callback address to identify a location to which the external web service should return a response;
transmit the request as a request message to the external web service using one or more transmission protocols; and
receive an asynchronous response from the external web service. - View Dependent Claims (73, 74, 75, 76, 77, 78, 79)
-
80. An article of manufacture comprising:
a storage medium having stored therein a plurality of programming instructions designed to program an apparatus to implement an asynchronous web service, which when executed enable an apparatus to receive a message identifying a callback address, a callback method and a proxy object identifier;
extract the proxy object identifier from the message;
determine a method to be invoked based at least in part upon the proxy object identifier and the callback method; and
route the request to the method to be invoked. - View Dependent Claims (81, 82, 83, 84)
Specification