System and method for fine grain method update of an application to provide continuous availability
Abstract
A system, method, and program product for updating a software program running in a middleware environment, such as a Java™ environment, are provided. An update request is received for a method loaded in the middleware environment. The request identifies a new version of the method and the method's class file. The new version is registered. Registering of the new version includes writing the new version to a heap managed by the middleware environment. In this manner, both the old version and the new version of the method can be executed. The update of the class file is scheduled for a future time. Subsequent requests are either routed to the old version of the method or re-routed to the new version. At the scheduled time, the class file is updated by replacing the old method with the new version.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for updating a software program, the method comprising: receiving an update request to update a method included in a middleware application, wherein the method is currently loaded in a middleware environment, and wherein the update request identifies a new version of the method and a class file that includes one or more methods including the method being updated; registering the new version of the method, the registering including writing the new version of the method to a heap that is managed by the middleware environment; scheduling an update of the class file f
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (4)
- Bellebia et al, "Applying Patterns to Build a Lightweight Middleware for Embedded Systems", ACM PLoP, pp. 1-13, 2006.
- Dumitras, "Dependable, Online Upgrades in Enterprise Systems" ACM OOPSLA, pp. 835-836, 2009.
- Edwards et al, "Self-Software Architectures and Component Middleware in Pervasive Environments"ACMMPAC, pp. 25-30, 2007.
- Pelc et al, "Practical Implementation of a Middleware and Software Component Architecture supporting Reconfigurability of Real-Time Embedded Systems", IEEE, pp. 394-401, 2009.