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

<< Function Oriented Classes

Page 3: Object Oriented Classes

Object-Orientated classes have all the good things like encapsulation, inheritance and polymorphism. Object-Oriented interfaces are used in Java API's such as JDBC.

They offer FAT interfaces to maximise performance and flexibility. A lot of methods are often exposed that accept heavy architectural objects, such as Database connections. These so called API interfaces are implementation specific and require a lot of hand coding.

Here is an example Object Oriented file handler implementation, called FileObject:

public class FileObject
{
    public setFile( File file ) {...}
    public File getFile() {...}
    public void setContent( String content ) {}
    public String getContent() {...}
}

>> Next Page: Service 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.