Annotation based development platform for stateful web services
First Claim
Patent Images
1. A method of specifying a stateful 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 one or more methods;
identifying one of said one or more methods to be exposed as part of the stateful web service; and
specifying one or more declarative annotations to cause a compiler to generate one or more persistent components to maintain conversational state related to the identified method.
2 Assignments
0 Petitions
Accused Products
Abstract
An annotation based development platform for stateful 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 a stateful web service. At compile time, an enhanced compiler analyzes the annotated source file and automatically generates the mechanisms required to expose its functionality as a stateful web service.
266 Citations
52 Claims
-
1. A method of specifying a stateful 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 one or more methods;
identifying one of said one or more methods to be exposed as part of the stateful web service; and
specifying one or more declarative annotations to cause a compiler to generate one or more persistent components to maintain conversational state related to the identified method. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. In a procedural programming environment, a method of generating a stateful web service, the method comprising:
-
reading a segment of procedural source code representing at least a portion of the web service;
parsing the segment of source code to identify the presence of one or more declarative annotations identifying an associated method within the segment as being stateful;
generating one or more object codes defining one or more publicly accessible service components based at least in part upon the source code;
generating meta-data based at least in part upon the one or more declarative annotations;
associating the meta-data with the one or more object codes. - View Dependent Claims (17, 18, 19, 20, 21, 22)
-
-
23. In a stateful web service, a method comprising:
-
receiving a message requesting that a web service method be invoked;
parsing the message to identify the requested method;
determining whether the method is a stateful method based at least in part upon meta-data derived from one or more declarative annotations stored in association with object codes of the web service; and
dispatching the received request to invoke the identified stateful method. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30)
-
-
31. 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 one or more declarative annotations within a procedural programming environment to modify an identified method of a stateful web service to cause a compiler to generate one or more persistent components to maintain conversational state related to the identified method. - View Dependent Claims (32, 33, 34, 35, 36, 37)
-
38. An article of manufacture comprising:
-
a storage medium having stored therein a plurality of programming instructions designed to program an apparatus to generate a stateful web service, which programming instructions when executed enable the apparatus to;
read a segment of procedural Source code representing at least a portion of the web service;
parse the segment of source code to identify the presence of one or more declarative annotations identifying an associated method within the segment as being stateful;
generate one or more object codes defining one or more publicly accessible service components based at least in part upon the source code;
generate meta-data based at least in part upon the one or more declarative annotations;
associate the meta-data with the one or more object codes. - View Dependent Claims (39, 40, 41, 42, 43, 44)
-
-
45. An article of manufacture comprising:
-
a storage medium having stored therein a plurality of programming instructions designed to program an apparatus to generate a stateful web service, which programming instructions when executed enable the apparatus to receive a message requesting that a method of the web service be invoked;
parse the message to identify the requested method;
determine whether the method is a stateful method based at least in part upon meta-data derived from one or more declarative annotations stored in association with object codes of the web service; and
dispatch the received request to invoke the identified stateful method. - View Dependent Claims (46, 47, 48, 49, 50, 51, 52)
-
Specification