Semantics in Business Systems: The Savvy Managers Guide (The Savvy Managers Guides)

The barrier between Web Services as they currently exist and the promised future of run-time discovery lies primarily in the absence of contracts for the services. In this case the contract that is needed follows from Bertrand Meyer's work on design by contract and concerns low-level contracts between components in an object-oriented environment.[104]

Design by Contract

The contracts we need for Web Services lie somewhere between the method-level assertions of design by contract and the high-level contracts that businesses enter into to do business with each other. As we described in Chapter 2, it is possible and desirable for a traditional contract to be expressed in semantic terms, and in so doing it becomes simpler to construct, less ambiguous, and easier to interpret.

However, the template that these contracts need to flow from has a different set of primitives than the intellectual property transfer contract that we looked at in Chapter 2. The key semantic concepts that must be defined to a level that a system could interpret include the following:

For run-time discovery to work, these items (as well as others) will be needed and must be reduced to functions that can be evaluated by the system.

[104]Bertrand Meyer, Object Oriented Software Construction. New Jersey: Prentice Hall, 1988, p 115.

Категории