Previous Topic: Add the Process Logic to CALCULATE GOLFER HANDICAP INDEXNext Topic: Copy the Component Specification


Components

As mentioned previously, we were fortunate enough to have found a component that will perform the complicated handicap index calculation for us. A component is an independently deliverable package of software operations that can be used to build applications or larger components. The particular component we have found is a component for calculating various sports performance indices. Among its software operations is one that calculates a bowler's average and another that calculates a golfer's handicap index. Component Based Development allows you to build applications faster, cheaper, and more reliably by combining and integrating pre-built, pre-tested software components.

Components are made up of three parts:

Specification

Describes the consumer's view of what the component does.

Implementation

Describes how the component will do what it says it does.

Executables

The pieces of compiled code that will execute the component's behavior on a computer system.

A component can be delivered as either a black box component or a white box component. A black box component is delivered with the Specification and the Executables. A white box component is normally delivered with simply the Specification and the Implementation, and you generate your own Executables from the implementation. The component we have found is a black box component, consisting of only the Specification and its Executables.