摘要 |
The present invention provides a data processing system, and method of opera tion, in which the system has a first message based environment and includes an encapsulati on system to facilitate the operation of an application program written for a second mess age based environment, the application program being arranged to create objects which interact via messages. The encapsulation system comprises means for intercepting environm ent dependent messages sent to or from an object of the application program, and conversio n means for receiving each intercepted message and converting that message into an equiv alent message stream of the other message based environment. Further transmission means ar e provided for sending the message stream to its original destination. By such an approach the object is treated by the first environment as a standard object of that environment. B y increasing the re-use of code, development costs are greatly improved, as are quality and m aintainability, without a detrimental effect on performance.
|