|
反射中间件必须原因连接 在前面我们已经提到,开放性只是反射系统的必要条件。为了实现反射性,反射中间件还必须实现原因连接。对于原因连接,Maes[2]是这样解释的,“内部结构及其所代表的域具有这样一种联系,即无论二者中的哪一个发生变化,都会导致另外一个相应的变化”。反射中间件通过原因连接来保证系统自描述的正确性,并能根据自己本身的行为状态来对自己进行相应的调整,实现自适应性。 从系统的角度来看,我们可以将反射中间件看成一种采用反射机制实现了的开放式的中间件系统,反射中间件既满足通常的中间件定义,同时必须满足开放系统的要求。另外,对于反射中间件来讲,仅实现开放性还是不够的,目前国际上有些研究将完整性也作为反射中间件的一个基本因素之一,本文就不在这里讨论了。 综上,随着技术和应用的发展,今天的中间件应该能够满足底层环境和特殊应用所提出的大量需要。但还需要进一步,就是说中间件不仅要支持静态而且要支持动态的配置修改。这一切,正是反射中间件所能提供的功能。从某种意义上讲,传统的中间件可以看成一种非开放式的中间件系统,是一种支持分布式应用的重要组件框架结构[1],为用户提供一个高层次的平台无关的编程模式和编程接口,并为用户屏蔽异构和分布式计算中的各种问题。反射中间件则是在传统的中间件基础上发展而来的,是一种采用开放工程(open engineering)方法的系统,与传统的中间件系统相比,其最大的区别与革新就是系统中实现了反射机制。我们有理由相信,反射中间件将会带来中间件技术的一场变革。 参考文献: [1]. Blair G.S., Coulson G., Robin P. ,Papathomas M., “An Architecture for Next Generation Middleware". Proceedings of the IFIP International Conference on Distributed Systems Platforms and Open Distributed Processing (Middleware'98), Davies N.A.J., Raymond K. & Seitz J. (Eds.), The Lake District, UK, pp. 191-206, 15-18 September 1998. [2]. Maes, P., "Concepts and Experiments in ComputationalReflection", In Proceedings of OOPSLA'87, Vol. 22 of ACM SIGPLAN Notices, pp147-155, ACM Press, 1987. [3]. Costa F. Duran, H. Parlavantzas, N. Saikoski, K. Blair, G.S. , Coulson G, "The Role of Reflective Middleware in Supporting the Engineering of Dynamic Applications". Lecture Notesin Computer Science 1826, Springer-Verlag, 2000 [4]. Nikos Parlavantzas, Geoff Coulson, Mike Clarke, Gordon Blair, "Towards a Reflective Component Based Middleware Architecture". Workshop on Reflection and Metalevel Architectures, June 13, 2000, Sophia Antipolis and Cannes, France. [5]. G. S. Blair, G. Coulson, A. Andersen, L. Blair, M. Clarke, F. Costa, H. Duran, N. Parlavantzas, K. Saikoski, "A principled approach to supporting adaptation in distributed mobile environments, " 5th International Symposium on Software Engineering for Paralleland Distributed Systems (PDSE-2000), (Limerick, Ireland), June 2000
|