随着数字图书馆的迅猛发展,互操作成为亟待解决的问题。数字图书馆互操作的主要解决途径之一是中间件技术。中间件技术已经广泛应用于数字图书馆,但是数字图书馆具有很多非功能需求,且这些非功能需求往往横切整个系统模块,引起代码混乱和代码分散等问题,导致系统难于设计、重用和维护,严重影响系统的性能。基于面向方面的中间件构建技术,能够把QoS、安全性、可靠性、易管理性、容错性等横切关注从中间件中分离出来,形成独立于中间件的核心功能的方面,以留中间件实现系统零侵入的实时扩展或重构。运用面向方面的编程技术可实现中间件横切关注和核心功能关注的并行设计与开发。中间件构建实现良好模块化、可配置性、部署时或运行时的可剪裁性,从而平衡实时系统中间件的通用性和专用性。
With the rapid development of digital libraries, the interopembility arises as very important problem to be resolved. One of most important approaches to achieving digital library interopembility is middleware technique, middleware techniques have been applied in digital libraries widely, but digital libraries have many non - functional requirements, such as the QoS, which cross cut the whole system modules. That may cause the code tangle and scatter, make the systems hard to design, reuse and maintain, and affect performance of systems badly. Aspect oriented middleware can separate crosscutting concerns, such as real - time, security, reliability, manageability, fault- tolerance, etc., from the core functions of middleware, and implement them independent of core functions. Then we can refractor legacy middleware or extend the real - time feature of middleware without modifying any existing cedes. Using aspect oriented programming the crosscutting concerns and core function concems can be designed and developed concurrently and independently. To achieve the tradeoff of generality and specialization of middleware, aspect oriented software development provides middleware more modularity, cortfigurability, and can tailor the architecture of middleware to fit specific needs at deployment time or at runtime.