Facilitating a service application to operate with different service frameworks in application servers
First Claim
1. A method of facilitating a service application to operate with different service frameworks executing in application servers, wherein said service application is designed to operate with a first service framework in providing a web service according to a contract, said method being performed in an application server, said method comprising:
- identifying that said first service framework is designed to operate with service applications according to a first interface for said web service, wherein said service application is implemented according to said first interface;
determining that a second service framework executing in said application server is designed to operate with service applications according to a second interface for said web service, said second interface being different from said first interface;
examining said contract to identify a set of operations defined in said contract for said web service,wherein said first interface comprises a first set of procedure definitions, wherein each of said first set of procedure definitions needs to be implemented for interfacing with said first service framework for a corresponding one of said set of operations,wherein said service application implements said first set of procedure definitions,wherein said second interface comprises a second set of procedure definitions, wherein each of said second set of procedure definitions needs to be implemented for interfacing with said second service framework for a corresponding one of said set of operations,wherein said set of differences comprises differences between a corresponding one of said first set of procedure definitions and a corresponding one of said second set of procedure definitions for each of said set of operations;
generating a wrapper module based on said set of differences identified between said first interface and said second interface; and
deploying said wrapper module and said service application in said application server,whereby said service application operates with said second service framework to provide said web service according to said contract in said application server.
1 Assignment
0 Petitions
Accused Products
Abstract
An aspect of the present invention facilitates a service application to operate with different frameworks executing in application servers. In one embodiment, the different interfaces according to which the different frameworks are designed to operate with service application are identified, including the interface implemented by the service application. Wrapper modules are then generated based on the differences between the identified interfaces and the interface implemented by the service application. The generated wrapper modules are then deployed along with the service application to facilitate the service application to operate with different frameworks.
-
Citations
19 Claims
-
1. A method of facilitating a service application to operate with different service frameworks executing in application servers, wherein said service application is designed to operate with a first service framework in providing a web service according to a contract, said method being performed in an application server, said method comprising:
-
identifying that said first service framework is designed to operate with service applications according to a first interface for said web service, wherein said service application is implemented according to said first interface; determining that a second service framework executing in said application server is designed to operate with service applications according to a second interface for said web service, said second interface being different from said first interface; examining said contract to identify a set of operations defined in said contract for said web service, wherein said first interface comprises a first set of procedure definitions, wherein each of said first set of procedure definitions needs to be implemented for interfacing with said first service framework for a corresponding one of said set of operations, wherein said service application implements said first set of procedure definitions, wherein said second interface comprises a second set of procedure definitions, wherein each of said second set of procedure definitions needs to be implemented for interfacing with said second service framework for a corresponding one of said set of operations, wherein said set of differences comprises differences between a corresponding one of said first set of procedure definitions and a corresponding one of said second set of procedure definitions for each of said set of operations; generating a wrapper module based on said set of differences identified between said first interface and said second interface; and deploying said wrapper module and said service application in said application server, whereby said service application operates with said second service framework to provide said web service according to said contract in said application server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computing system comprising:
-
a first application server to execute a first service framework and a service application, wherein said service application is designed to operate with said first service framework in providing a web service according to a contract, wherein said first service framework is designed to operate with service applications according to a first interface for said web service, said service application being implemented according to said first interface; a second application server to execute a second service framework designed to operate with service applications according to a second interface for said web service, said second interface being different from said first interface; and a porting tool to generate a wrapper module based on a set of differences identified between said first interface and said second interface and to deploy said wrapper module and said service application in said second application server, whereby said service application operates with said second service framework to provide said web service according to said contract in said second application server, a client system to send a first request for invocation of said web service to said first service framework in said first application server and to send a second request for invocation of said web service to said second service framework in said second application server, wherein the formats of said first request and said second request are the same according to said contract, wherein at least one of said client system, first application server, said second application server and said porting tool is implemented by a processor executing instructions retrieved from a memory. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A system facilitating a service application to operate with different service frameworks, wherein said service application is designed to operate with a first service framework in providing a web service according to a contract, wherein said first service framework is designed to operate with service applications according to a first interface for said web service, said service application being implemented according to said first interface, said system comprising:
-
a processor; a random access memory (RAM); and a machine readable medium to store a first set of instructions, a second set of instructions, and a third set of instructions, wherein said first set of instructions when retrieved into said RAM and executed by said processor form a second service framework designed to operate with service applications according to a second interface for said web service, said second interface being different from said first interface, said second set of instructions when retrieved into said RAM and executed by said processor form said service application, said third set of instructions when retrieved into said RAM and executed by said processor form a wrapper module designed to convert between said first interface and said second interface, thereby enabling said service application to operate with said second service framework to provide said web service according to said contract, a fourth set of instructions, wherein said fourth set of instructions when retrieved into said RAM and executed by said processor form a porting tool designed to generate said wrapper module based on a set of differences identified between said first interface and said second interface, said porting tool containing one or more instructions for examining said contract to identify a set of operations defined in said contract for said web service, wherein said first interface comprises a first set of procedure definitions, wherein each of said first set of procedure definitions needs to be implemented for interfacing with said first service framework for a corresponding one of said set of operations, wherein said service application implements said first set of procedure definitions, wherein said second interface comprises a second set of procedure definitions, wherein each of said second set of procedure definitions needs to be implemented for interfacing with said second service framework for a corresponding one of said set of operations, wherein said set of differences comprises differences between a corresponding one of said first set of procedure definitions and a corresponding one of said second set of procedure definitions for each of said set of operations. - View Dependent Claims (16)
-
-
17. A non-transitory machine readable medium storing one or more sequences of instructions which when executed by one or more processors of a server system causes said server system to process requests invoking web services, said one or more sequences of instructions comprising:
-
a first set of instructions, when executed in said server system constituting a service application said service application is designed to operate with a first service framework in providing a web service according to a contract, wherein said first service framework is designed to operate according to a first interface for said web service, wherein said service application is implemented according to said first interface, said contract specifying a set of operations for said web service, wherein said first interface comprises a first set of procedure definitions, wherein each of said first set of procedure definitions needs to be implemented for interfacing with said first service framework for a corresponding one of said set of operations, wherein said service application implements said first set of procedure definitions; a second set of instructions constituting a second service framework, wherein said second service framework is designed to operate with service applications according to a second interface for said web service, said second interface being different from said first interface, wherein said second interface comprises a second set of procedure definitions, wherein each of said second set of procedure definitions needs to be implemented for interfacing with said second service framework for a corresponding one of said set of operations; and a third set of instructions constituting a wrapper module generated based on a set of differences identified between said first interface and said second interface, wherein said set of differences comprises differences between a corresponding one of said first set of procedure definitions and a corresponding one of said second set of procedure definitions for each of said set of operations, wherein said second service framework receives a plurality of requests, each request specifying an operation of said set of operations for said web service according to said contract, each request being received from one of a client systems of a plurality of client systems, in response to receiving of each of said plurality of requests, said service framework being designed to perform invocations in accordance with said second set of procedure definitions, said wrapper module being designed to convert said invocations in accordance with said second set of procedure definitions to invocations in accordance with said first set of procedure definitions, whereby said service application operates with said second service framework to provide said web service according to said contract in said application server. - View Dependent Claims (18, 19)
-
Specification