tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson, Tracy" <tnel...@factsmgt.com>
Subject RE: How to get fields list in order
Date Fri, 03 Nov 2006 22:10:09 GMT
| From: Christopher Schultz [mailto:chris@christopherschultz.net]
| Sent: Friday, 03 November, 2006 13:41
| 
| The bottom line to your question is that byte offsets are difficult if
| not impossible to predict, and you are better off using
getDeclaredField
| and getField().getValue() calls. Better yet, write your own, simpler
| Java wrapper and then ddl-ize /that/. You could even write a short
Java
| program to read your classes using reflection and write-out simpler
| forms of data, like all Strings or well-ordered, binary data.

I'd even go so far as to recommend XML.  Nice representation-neutral
format, and there should be plenty of support (in VB for sure, not sure
how well supported Delphi still is), and JAXB makes marshalling and
unmarshalling pretty painless.

The information contained in this message is confidential
proprietary property of FACTS/Nelnet Business Solutions. Any reproduction,
forwarding, or copying without the express
permission of FACTS/Nelnet Business Solutions is strictly prohibited. If you have
received this communication in error, please notify us
immediately by replying to this e-mail.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message