摘要 |
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.
|