|
MessageCentral and message-oriented programmingComponent-structure fragilityMessage-oriented programming aims to eliminate the denotation of one of the parameters from the clients' view of method call as the special object to which the "message" is sent, and focus, instead, on the message as a request for service by any server. This permits client code to be reused even when the implementation of a method is moved from one object to another. Consider, for example, a fragment of code written to record the fact that an item was sold to a customer at a store. Assuming that "item, customer, and store" are variables that refer to objects of those types then the sale could be registered by calling the register_sale method of the item being sold. A Java programmer might write:
Issues in moving to message-oriented softwareSuccessfully supporting a programming style that eliminated component-structure fragility requires addressing several issues:
For further information, please contact
Bill Harrison.
[ IBM home page | Order | Search | ContactIBM | Legal ] |