| Transaction middleware and Message orient middleware are applied widely on system of monetary computation; they hide the complexity and the variance of the underlying environment. In the system based on these structures, a model should present its function while hide the underlying implementation, which is designed for portability and reusability; in spite of many advantages of this strategy, facts show that it is difficult to meet different demands of various clients, they are inherently short of flexibility and adaptability. Especially on system of monetary computation, the business is very complicated and the logic is changeable; so it is necessary for middleware system to be more customizable, flexible and adaptable.For that reason, applying the reflex mechanism to the design of middleware is supposed. The so-called reflection is an ability of system to reason about and act upon itself. The conception of reflection includes the reflection of objects and that of messages. In this thesis, the meta-data describe table is used to implement the reflex mechanism of message, which make message is no longer a byte-stream ,but a message objects that support causally connected self representation, type check and validity check, it also have the adaptability for busyness data modification.To meet demands of busyness logic customization of monetary computation, the reflex mechanism of objects should be implemented based on the message-oriented reflective middleware. Every computation performed on this reflective middleware switch to the reflective protocol stack from the runtime space of client to transforms to the operation of pluggable objects; then switch to the specific service object by RPC binding protocols; return the results by opposite direction to complete the computation.According to the need of busyness, modify the meta-data describe table, then message objects have different describe on itself and encoding/decoding the message accordingly then the message can be customized by clients. In addition, the... |