Software Reality
Programming with
a dose of satire.

Site Map Search


Agile Development
 
Extreme Programming
 
Code Generation


Articles
Lifecycle
Design
Programming
Soapbox
Reviews
Cthulhu

Check out our ageing Reviews Section


Use Case Driven
Use Case Driven Object Modeling with UML: Theory and Practice
Get from use cases to working, maintainable source code. Examples use Spring Framework, JUnit and Enterprise Architect

Agile UML
Agile Development with ICONIX Process
A practical subset of agile development techniques, illustrated by example

Get Controversial!
Extreme Programming Refactored
Extreme Programming with a dose of satire
Available now:



ICONIX/Sparx Public Classes to Come to London

ICONIX is planning a series of open- enrollment public classes entitled Hands-On Enterprise Architect for Power Users in collaboration with Sparx Systems.




Design

Interface Design

<< Service Oriented Classes

Page 5: Component Oriented Classes

Component Oriented classes have the characteristics of Object Oriented classes, but have a THIN interface so they can be used in different contexts more easily.

Those different contexts include different code bases (e.g. COM, CORBA) and containers (e.g. web browsers).

Here is an example Component Oriented file handler implementation, called FileComponent:

public class FileComponent
{
    public setFileName( String fileName ) {...}
    public File getFileName() {...}
    public void setContent( String content ) {}
    public String getContent() {...}
}

>> Next Page: Correct Use

More about Component Oriented classes.

 

<< Back to Design

<< Back to Software Reality

All trademarks and copyrights on this page are owned by their respective owners.
Stories and articles are owned by the original author.
All the rest Copyright 1998 onwards Matt Stephens. ALL RIGHTS RESERVED.