Back to results
US 9,356,805 B2Granted
Implementing a plurality of interface definitions
AssigneeInternational Business Machines Corporation
InventorGlenn Rasmussen
Life of this patent
Estimating the term…
Abstract
A system and method are provided for implementing a plurality of interface definitions. The system and method provide for a message to be received according to a first definition, sent to a component for processing according to a second definition and returned to the requester according to the first interface definition. The system and method strip information from the return message that is not contained in the first interface definition.
Claims17
A method comprising:
- receiving at a server a message conforming to a first programming interface definition from a requester agent and passing the received message to a producer component of a producer agent of the server, wherein the producer agent includes a servlet filter to communicate with the producer component and process a return message, wherein the servlet filter is associated with an address of a prior producer component utilizing the first programming interface definition, and the receiving the message further includes:
- receiving the message directed to the address of the prior producer component at the server and forwarding the message to the servlet filter based on the address;
- in response to the producer component receiving and processing the message:
- receiving at the servlet filter the return message from the producer component conforming to a second programming interface definition, wherein the requester agent utilizes the first programming interface definition that describes a first application programming interface for communicating with other agents and the producer component utilizes the second programming interface definition that describes a second different application programming interface for communicating with other agents and includes a different version of the first application programming interface;
- comparing at the servlet filter the first and second programming interface definitions and determining additional information of the second programming interface definition absent from the first programming interface definition, wherein the second programming interface definition is constrained by one or more rules describing permissible differences relative to the first programming interface definition;
- and
- removing by the servlet filter the additional information from the return message to transform the return message from the second programming interface definition to the first programming interface definition and generating a response message for the requester agent conforming to the first programming interface definition.
4 more elements
A system comprising:
- a computer processor configured to:
- receive a message conforming to a first programming interface definition from a requester agent and pass the received message to a producer component of a producer agent of the computer processor, wherein the producer agent includes a servlet filter to communicate with the producer component and process a return message, wherein the servlet filter is associated with an address of a prior producer component utilizing the first programming interface definition, and the receiving the message further includes:
- receiving the message directed to the address of the prior producer component at the computer processor and forwarding the message to the servlet filter based on the address;
- in response to the producer component receiving and processing the message:
- receive at the servlet filter the return message from the producer component conforming to a second programming interface definition, wherein the requester agent utilizes the first programming interface definition that describes a first application programming interface for communicating with other agents and the producer component utilizes the second programming interface definition that describes a second different application programming interface for communicating with other agents and includes a different version of the first application programming interface;
- compare at the servlet filter the first and second programming interface definitions and determine additional information of the second programming interface definition absent from the first programming interface definition, wherein the second programming interface definition is constrained by one or more rules describing permissible differences relative to the first programming interface definition;
- and
- remove at the servlet filter the additional information from the return message to transform the return message from the second programming interface definition to the first programming interface definition and generate a response message for the requester agent conforming to the first programming interface definition.
5 more elements
A computer program product comprising:
- a tangible computer usable memory device having computer usable program code embodied therewith, the computer usable program code comprising computer usable program code configured to:
- receive a message conforming to a first programming interface definition from a requester agent and pass the received message to a producer component of a producer agent, wherein the producer agent includes a servlet filter to communicate with the producer component and process a return message, wherein the servlet filter is associated with an address of a prior producer component utilizing the first programming interface definition, and the receiving the message further includes:
- receiving the message directed to the address of the prior producer component and forwarding the message to the servlet filter based on the address;
- in response to the producer component receiving and processing the message:
- receive, via the servlet filter, the return message from the producer component conforming to a second programming interface definition, wherein the requester agent utilizes the first programming interface definition that describes a first application programming interface for communicating with other agents and the producer component utilizes the second programming interface definition that describes a second different application programming interface for communicating with other agents and includes a different version of the first application programming interface;
- compare, via the servlet filter, the first and second programming interface definitions and determine additional information of the second programming interface definition absent from the first programming interface definition, wherein the second programming interface definition is constrained by one or more rules describing permissible differences relative to the first programming interface definition;
- and
- remove, via the servlet filter, the additional information from the return message to transform the return message from the second programming interface definition to the first programming interface definition and generate a response message for the requester agent conforming to the first programming interface definition.
5 more elements
Dependencies are inferred from the claim text.