[jdom-interest] integration by derivation with JDOM classes

Franck Delahaye franck.delahaye at akazi.com
Mon Oct 29 07:38:15 PST 2001


Hy everybody,
I'am new to this list and so to JDOM too.
we are currently prototyping a Business Process modeler.
It is implemented using Java/JDOM.
 After the first protoyping phase (quiet fast with JDOM), we came to
 the conclusion that the best base architecture for the
 modeler is to derive our Business Process classes from the JDOM standard
 classes ( particularly the Element and Attributes classes), like this:
  a Business Process --> is a --> Document with a "process" root Element
  a Business Process Graph --> is a --> "graph" Element child of a "process"
 Element
  ...

 The idea is then to implement Business Process modeling specific methods
and
 checks in the derived classes, and leave the door open to a direct JDOM
 manipulation for other kind of application such as online documentation
generation, ...

 What I fear is that JDOM classes may not be designed for such an
"integration by
 derivation" approch, and that this solution may be risky...

 any opinion ?

 Franck
 email: franck.delahaye at akazi.com






More information about the jdom-interest mailing list