Hey all, Just throwing this out for input, comments, criticisms, etc.
Problem:
Most EJB-based/O-R Mapping Objects/References use java.sql.Date (and maybe a couple other classes/objects that aren't XML/WebService friendly like some of the numerics). Most good tools using XML-based loaders have problems with these classes.
Solution:
Create a standardized object very similar to Value Objects, but cast known non-XML-Standard java objects to standard-XML objects.
Example:
java.sql.Date -> java.util.Calendar
java.util.Date -> java.util.Calendar
Yes, you could do it in the application that requires 'XML-aware' java objects...but doing that times 3-4 or more applications is silly when you can take care of it at the root - the data level.
Anyway, looking for feedback, maybe someone has already done this!
We do this with "converters". In our Struts application we used the Converter capabilities of BeanUtils.copyProperties. Now in Tapestry we use OGNL's TypeConverter. These are both glue solutions between our presentation tier and business tier.
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
