摘要
虚拟试验对象的框架代码,是介于分布式中间件和分布式应用程序之间的代码层,它提供了对相应的虚拟试验对象进行发布订阅和远程方法调用等服务;然而,虚拟试验对象框架代码数量庞大,结构复杂,手工编写代码存在费时费力、出错率高等缺点;文章在充分研究现有代码自动生成技术的基础上,给出了虚拟试验对象框架代码的自动生成方案,设计并实现了能够自动生成虚拟试验对象框架代码的工具VssCodeGenerator,该工具已经得到初步应用,大大简化了在分布式环境下开发虚拟试验对象的应用程序的过程。
The framework code of the virtual test object is a layer of code between the distributed middleware and distributed applications, which provides some services, like publish--subscribe and remote method invocation, to a virtual test object. However, the code has a huge quantity and complex structure, and hand--writing the code is laborious and the error rate is high. After the full study of the existing automatic code generation technology, we design a scheme which can automatically generate a virtual test object framework code, and further more, based on that scheme, we design and implement the tool VssCodeGenerator, which has been applied and greatly simplified the process that develop a application of virtual test object in a distributed environment.
出处
《计算机测量与控制》
CSCD
北大核心
2012年第10期2745-2747,共3页
Computer Measurement &Control
关键词
分布式环境
虚拟试验对象
自动生成
distributed environment
virtual test object
automatic generation