APP下载

在Eclipse中使用RSE框架的探讨

2014-07-24贾璐张旻田丹麦先根

现代电子技术 2014年14期

贾璐+张旻+田丹+麦先根

摘 要: 传统C/S结构的远程处理程序存在高度依赖客户端,界面响应速度慢,不能充分发挥客户端性能等弱点。随着Eclipse平台和RSE框架的出现,使远程处理应用程序开发重新成为了焦点。使用基于Eclipse平台和RSE软件框架构建远程处理正在成为当前越来越多的企业采用的一种方法,这种方法快速、高效、开发团队只需要将关注点投射于领域业务逻辑即可。在此深入地分析RSE框架的体系结构,并结合实例介绍Eclipse下采用RSE开发远程处理的实现方法。该方法使软件架构更加合理,可维护性强,并且大幅缩短了开发时间,取得了良好效果。

关键词: Eclipse; RSE; MVC; Plug?in

中图分类号: TN911?34; TP311 文献标识码: A 文章编号: 1004?373X(2014)14?0048?03

Application of RSE framework in Eclipse

JIA Lu, ZHANG Min, TIAN Dan, MAI Xian?gen

(Xian Aeronautics Computing Technique Research Institute, AVIC, Xian 710065, China)

Abstracts: The remote processing program of traditional C/S structure highly depends on the client?side, has slow interface responses, and can not make fully use of the performance of client?side. Along with the appearance of Eclipse platform and RSE structures, the remote processing application program development becomes a focus again. More and more companies are developing their own remote processing devices based on Eclipse and RSE. It is an efficient way that the development teams needs to focus on building their field logic only. The architecture of RSE framework is deeply analyzed in this paper. The method to develop and implement the remote processing device by using RSE in Eclipse is introduced with examples. The method makes the software architecture more reasonable and maintainability stronger, and can greatly reduce the development time.

Keywords: Eclipse; RSE; MVC; Plug?in

随着Eclipse和RSE的出现,使C/S结构的远程处理应用程序开发重新进入人们的视线。Eclipse[1]的最大优点在于其插件机制,在Eclipse平台上只需要下载一个RSE[2]插件,再通过简单地扩展和部署,就能实现专用的远程系统,并能为该远程系统添加新功能[3],从而较好地解决了传统客户端应用程序不易扩展,难以适应需求变化的问题。

1 RSE框架机制

RSE是基于Eclipse 项目的一个开发远程系统客户端应用程序的框架,旨在提供一种快速开发的,功能强大的,可扩展的应用平台。RSE不仅提供了远程系统的数据模型和应用框架,还支持远程系统的访问命令和文件服务模型。

RSE是一个插件体系结构的完整的应用平台,它既是一个插件,又是一些插件的集合。基于RSE的应用程序的入口必须实现org.eclipse.core. runtime. applications扩展点。在Eclipse 启动时,只……

登录APP查看全文