After discussing the reflective method of structure and behavior in the State design pattern based on Role Object pattern and the Reflective pattern of software architecture, this paper proposes a reflective state pat...After discussing the reflective method of structure and behavior in the State design pattern based on Role Object pattern and the Reflective pattern of software architecture, this paper proposes a reflective state pattern with dynamic constructiveness. This paper explains the meta level and the base level, which are two levels of this pattern, and specifies the relation of two levels by using Meta Object Protocol (MOP). Then it discusses mechanism of interception and reification for reflecting base object from Meta object. Finally this paper gives an example of network server for applying the Reflective State pattern.展开更多
采用MVC(Model-View-Controller)设计模式,分析设计了车辆状态监测平台架构,根据功能需求对平台前端进行了优化设计和实现,即结合JSP(Java Server Pages)、AJAX(Asynchronous Java Script and XML)、Div等技术实现快速动态网页加载、网...采用MVC(Model-View-Controller)设计模式,分析设计了车辆状态监测平台架构,根据功能需求对平台前端进行了优化设计和实现,即结合JSP(Java Server Pages)、AJAX(Asynchronous Java Script and XML)、Div等技术实现快速动态网页加载、网页分块设计等功能,并采用j Query easy UI与Highcharts等JS(Java Script)插件实现车辆状态监测数据的轻量化展示。结果表明:本平台前端设计能够达到页面动态显示、页面加载速度更快的效果,降低了前端设计开发成本。展开更多
基金The research wsa supported in part by the Middleware Software Division of Software Group of Fujitsu L imited inJapantechnolo
文摘After discussing the reflective method of structure and behavior in the State design pattern based on Role Object pattern and the Reflective pattern of software architecture, this paper proposes a reflective state pattern with dynamic constructiveness. This paper explains the meta level and the base level, which are two levels of this pattern, and specifies the relation of two levels by using Meta Object Protocol (MOP). Then it discusses mechanism of interception and reification for reflecting base object from Meta object. Finally this paper gives an example of network server for applying the Reflective State pattern.