实时系统中间件存在着分布性、实时性、容错性、安全控制、性能分析、日志记录等非功能的横切关注点,基于面向方面的中间件构件技术就是要把这些非功能的要求从中间件的核心功能中分离出,形成非功能方面,运用面向方面的编程技术可实现中间件核心功能关注点和非功能的横切关注点的并行设计与开发,这增加了中间件设计的模块性、可扩展性和可维护性。文中提出了采用面向方面的编程思想,重构基于Java的RMI(Remote Method Invocation)分布式框架,实现实时系统中间件的分布性。
Aspect oriented middleware can separate non-functional crosscutting concerns,such as distribution,real-time,fault-tolerance,security,performance analysis,logging,etc.,from the core functions of middleware,and implement them as non-functional aspects,using aspect oriented programming the crosscutting and core function concerns can be designed and developed concurrently and independently.Aspect oriented software development provides middleware more modularity,expansibility and maintenance.In this paper,used aspect oriented programming model,distributed by RMI(Remote Method Invocation) framework based on Java,distribution of real-time system middleware has been designed.