Skip to main content

What is really preventing component reuse?

Posted by allenc on August 30, 2004 at 4:14 PM PDT

One of the promises of J2EE or Web Services is to allow individual "component" to be discovered and reused to form new business functions. But in reality, things are usually a bit more complicated that this.

In addition to matching the functional requirements of the component, one would need to match the non-functional requirements before a component can be reused. For example:

  1. What is the error behavior of the component?
  2. What is the scalability and performance of the component?
  3. How is the component being configured?
  4. etc...

So, are there things that we can do to make specification of functional and non-functional behavior more explicit? or some language contructs to allow behavior to be modified (AOP?) ?

If we're to draw analogy between software and hardware reuse. I often find that in hardware the limitation and constraits are more clearly specified and their behavior is usually defined in ranges rather than descrete values - maybe there lies one of the reasons why software is not as reuseable as hardware.

Related Topics >>