发明名称 Smart cache for a server test environment in an application development tool
摘要 Embodiments of the present invention provide a method, system and computer program product for a smart cache for server testing in an application development tool. In an embodiment of the invention, method of smart caching of service data during application testing in a development tool for a service invoking application is provided. The method includes loading source code for a computer program into a development tool executing in memory of a computing system. The method further includes executing the source code from the development tool. In this regard, the execution of the source code invokes a service responsive to a directive to invoke the service disposed in the source code. Finally, the method includes invoking the service in a container instance in response to a first invocation of the service from the computer program. However, a data set for the service is located in a cache and returned the data set to the computer program in lieu of invoking the service in the container instance for all other invocations of the service.
申请公布号 US8793663(B2) 申请公布日期 2014.07.29
申请号 US201012982587 申请日期 2010.12.30
申请人 International Business Machines Corporation 发明人 Xu Li;Zhang Jianjun
分类号 G06F9/44 主分类号 G06F9/44
代理机构 CRGO Law 代理人 Greenberg, Esq. Steven M.;CRGO Law
主权项 1. A method of smart caching of service data during application testing in a development tool for a service invoking application, the method comprising: loading source code for a computer program into a development tool executing in memory of a client computing system; executing the source code from the development tool, the execution of the source code invoking a service responsive to a directive to invoke the service disposed in the source code; invoking the service in a container instance of a host server coupled to the client computing system over a communications network in response to a first invocation of the service from the computer program and returning a resultant data set for the service to the computer program: storing the resultant data set in a cache in the host server; andreturning the stored resultant data set to the computer program in lieu of invoking the service in the container instance in response to a second or any subsequent invocation of the service from the computer program; wherein the resultant data set for the service is stored in the cache in the host server after the first invocation; persisting the resultant data set for the service in a fixed storage of the host server in response to a shutdown of the development tool; and, restoring the resultant data set for the service to memory of the host server upon the development tool being restarted.
地址 Armonk NY US