按需远程执行是软件应用实现对资源按需占有,从而保障性能并提高资源利用率的重要手段.给出了一种通过自动程序转换来支持Java应用中计算按需远程执行的方法,其核心是支持计算按需远程执行的设计模式.介绍了将Java应用转换成该模式所面临的技术挑战、处理机制以及DPartner转换系统.与已有工作相比,DPartner有两大特色:一是程序转换自动执行;二是转换后应用可实现真正按需的远程执行,使性能和资源利用率得以提升.此外,DPartner被设计为可对只有Java字节码的遗产应用进行转换,更具实用性.
On-Demand remote executing is an important way to enable an application occupy resource on-demand to guarantee performance as well as improve resource utilization.This paper proposes an automatic program transformation approach for the on-demand remote execution of the computations in a Java application.The core of the approach is a design pattern supporting on-demand remote execution of computations.The research presents the technical challenges of and solutions for transformation,and gives out the DPartner transformation system.Comparing with previous work,DPartner has two major characteristics: first,transformation is carried out automatically;second,the transformed application is able to execute remotely on-demand,so its performance can be improved and the resource utilization can be increased.Additionally,DPartner is designed to be a practicable tool,as it can transform legacy applications with only Java bytecode.