Re-using legacy libraries in software
AssigneeInternational Business Machines Corporation
InventorChristopher P. Majoros
Life of this patent
Estimating the term…
Abstract
A method of using a computer program that accesses legacy program code can include distinguishing between non-legacy program code of the computer program and legacy program code of the computer program, separating the computer program into at least a first logical unit including non-legacy program code and at least a second logical unit including legacy program code, and including interface code within the first logical unit. The interface code can be non-legacy program code that communicates with the second logical unit. The first logical unit and the second logical unit can be output.
Claims20
A method of using a computer program that accesses legacy program code comprising:
- distinguishing between non-legacy program code of the computer program and legacy program code of the computer program;
- separating the computer program into at least a first logical unit comprising non-legacy program code and at least a second logical unit comprising legacy program code;
- including interface code within the first logical unit, wherein the interface code is non-legacy program code that communicates with the second logical unit;
- and
- outputting the first logical unit and the second logical unit.
A method of using a computer program that utilizes legacy program code comprising:
- separating the computer program into at least a first logical unit comprising non-legacy program code and at least a second logical unit comprising legacy program code;
- executing the first logical unit within a first process of a computing platform, wherein the first logical unit initiates execution of the second logical unit;
- executing the second logical unit within a second process of the computing platform in cooperation with an emulator, wherein the second logical unit services a request from the first logical unit;
- and
- outputting a response to the request from the second logical unit.
A computer program product comprising a computer-usable storage memory having stored therein computer-usable program code for using a computer program that accesses legacy program code, the computer-usable program code, which when executed by a computer hardware system, causes the computer hardware system to perform
- distinguishing between non-legacy program code of the computer program and legacy program code of the computer program;
- separating the computer program into at least a first logical unit comprising non-legacy program code and at least a second logical unit comprising legacy program code;
- including interface code within the first logical unit that communicates with the second logical unit, wherein the interface code is non-legacy program code;
- and
- outputting the first logical unit and the second logical unit.
Dependencies are inferred from the claim text.