commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertburrelldon...@blueyonder.co.uk>
Subject Re: [betwixt] Only use idref for == objects, not for equal objects
Date Wed, 26 Oct 2005 20:25:03 GMT
On Tue, 2005-10-25 at 13:35 +0200, Wim Deblauwe wrote:
> ok. What do you exaclty mean by saying that "betwixt is a bean mapper (not
> an xml serializer)"? Do you believe there are better options for serializing
> and deserializing java-objects to/from xml?

serializers just concentrate on serializing and deserializing the object
state into xml and back again. in many ways, they are alternatives to
the standard java xml serialization mechanism. typically, little
flexibility or control is offered over the xml outputted. a example of a
good object serializer is http://xstream.codehaus.org. 

a (start-from-java) mapper attempts to map objects into arbitrary xml.
mappers offers more powerful and flexible mappings than serializers but
the price is paid in complexity. 

betwixt is bean-centric: it's default mappings and strategies are based
in properties. other mappers are field-centric: for example
http://jibx.sourceforge.net.

hope this helps

BTW if you're attending http://www.apachecon.com/2005/US/ Thomas Dudziak
will be giving a talk called Java-XML Binding Approaches at Apache. this
will cover the full range of mapping, serializing and binding approaches
and techniques. 

- robert


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


Mime
View raw message