System and method for meta-data driven, semi-automated generation of web services based on existing applications
First Claim
1. A method for facilitating the reuse of logic implemented in an existing software application, the method comprising:
- receiving, at a computer system, a selection of an existing software application, wherein the existing software application is built using an application technology that is not Web service-enabled;
generating, by the computer system, metadata based on data parsed from program code for the existing software application;
receiving, at the computer system, one or more customizations to be applied to the metadata;
modifying, by the computer system, the metadata based on the one or more customizations; and
generating, by the computer system, artifacts for a Web service based on the modified metadata, the Web service being configured to expose a Web service operation that, when executed, causes an existing operation implemented in the existing software application to be executed, wherein the generating the artifacts for the Web service based on the modified metadata comprises;
generating a mapping file identifying the existing operation, its associated data objects, and a mapping between the existing operation and an alternative operation name; and
generating a template payload file defining a template payload to be transmitted to the existing software application at a time of invocation of the Web service operation, the template payload including an invocation of the existing operation, one or more placeholder values for one or more input parameters, and a sequence of zero or more sub-operations to be executed by the existing software application in order to carry out the existing operation.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques for reusing logic implemented in an existing software application such that the logic can be exposed as a Web service or in any other service-oriented context. In one set of embodiments, a design-time technique is provided that comprises, inter alia, receiving program code for an existing software application, generating metadata based on the program code, and customizing the metadata to align with an intended Web service. Artifacts for the Web service are then generated based on the customized metadata. In another set of embodiments, a run-time technique is provided that comprises, inter alia, receiving a payload representing an invocation of a Web service operation of the generated Web service, processing the payload, and, based on the processing, causing the existing software application to execute an operation in response to the invocation of the Web service operation.
-
Citations
24 Claims
-
1. A method for facilitating the reuse of logic implemented in an existing software application, the method comprising:
-
receiving, at a computer system, a selection of an existing software application, wherein the existing software application is built using an application technology that is not Web service-enabled; generating, by the computer system, metadata based on data parsed from program code for the existing software application; receiving, at the computer system, one or more customizations to be applied to the metadata; modifying, by the computer system, the metadata based on the one or more customizations; and generating, by the computer system, artifacts for a Web service based on the modified metadata, the Web service being configured to expose a Web service operation that, when executed, causes an existing operation implemented in the existing software application to be executed, wherein the generating the artifacts for the Web service based on the modified metadata comprises; generating a mapping file identifying the existing operation, its associated data objects, and a mapping between the existing operation and an alternative operation name; and generating a template payload file defining a template payload to be transmitted to the existing software application at a time of invocation of the Web service operation, the template payload including an invocation of the existing operation, one or more placeholder values for one or more input parameters, and a sequence of zero or more sub-operations to be executed by the existing software application in order to carry out the existing operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A system for facilitating the reuse of logic implemented in an existing software application, the system comprising:
a first computer system in a design-time environment, the first computer system being configured to; receive a selection of an existing software application, wherein the existing software application is built using an application technology that is not Web service-enabled; generate metadata based on data parsed from program code for the existing software application; receive one or more customizations to be applied to the metadata; modify the metadata based on the one or more customizations; and generate artifacts for a Web service based on the modified metadata, the Web service being configured to expose a Web service operation that, when executed, causes an existing operation implemented in the existing software application to be executed, wherein the generating the artifacts for the Web service based on the modified metadata comprises; generating a mapping file identifying the existing operation, its associated data objects, and a mapping between the existing operation and an alternative operation name; and generating a template payload file defining a template payload to be transmitted to the existing software application at a time of invocation of the Web service operation, the template payload including an invocation of the existing operation, one or more placeholder values for one or more input parameters, and a sequence of zero or more sub-operations to be executed by the existing software application in order to carry out the existing operation. - View Dependent Claims (18, 19, 20, 21, 22)
-
23. A non-transitory machine-readable medium having stored thereon program code which, when executed by a processing component of a computer system, facilitates the reuse of logic implemented in an existing software application, the program code comprising:
-
code for receiving a selection of an existing software application, wherein the existing software application is built using an application technology that is not Web service-enabled; code for generating metadata comprising code for parsing data from program code for the existing software application; code for receiving one or more customizations to be applied to the metadata; code for modifying the metadata based on the one or more customizations; and code for generating artifacts for a Web service based on the modified metadata, the Web service being configured to expose a Web service operation that, when executed, causes an existing operation implemented in the existing software application to be executed, wherein the generating the artifacts for the Web service based on the modified metadata comprises; generating a mapping file identifying the existing operation, its associated data objects, and a mapping between the existing operation and an alternative operation name; and generating a template payload file defining a template payload to be transmitted to the existing software application at a time of invocation of the Web service operation, the template payload including an invocation of the existing operation, one or more placeholder values for one or more input parameters, and a sequence of zero or more sub-operations to be executed by the existing software application in order to carry out the existing operation. - View Dependent Claims (24)
-
Specification