commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From commons-...@jakarta.apache.org
Subject [Jakarta Commons Wiki] Updated: Digester/WhyUseDigester
Date Wed, 09 Feb 2005 23:57:39 GMT
   Date: 2005-02-09T15:57:38
   Editor: SimonKitching
   Wiki: Jakarta Commons Wiki
   Page: Digester/WhyUseDigester
   URL: http://wiki.apache.org/jakarta-commons/Digester/WhyUseDigester

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -84,8 +84,9 @@
 drawbacks:
  * you need an xml schema that defines your input xml
  * you need to run a "pre-processor" to generate code
- * you may or may not have much choice about the names of the generated classes,
-   or the way inter-object relationships are represented.
+ * you may or may not have much choice about the names of the generated classes, or the way
inter-object relationships are represented.
+ * the generated classes don't contain any "business logic", just plain getter and setter
methods for the data
+ * if you modify any of the generated classes, then later need to regenerate them because
the schema has changed, your changes are wiped out.
 
 Basically, using JAXB is like having a custom DOM representation, rather than
 being able to initialise *your* classes from an xml input.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message