The project that I am working on is finally taking a look at doing somekind of
Java <--> XML binding. Specifically, we receive XML files that need to be turned into Java objects (our object model). Those objects are then processed and turned into different XML files to be sent off to clients.
What we are looking for is a framework that allows us to do the marshalling/unmarshalling dynamically. By this I mean without having to worry about any compile time code generation. The ideal would be that, in order to handle a new XML schema, all we would need to do is provide a mapping/binding file, bounce the system, and the system should be able to handle the new schema.
Is this possible to do?
We have looked at JAXB, Castor, and JiBX, but all of these libraries require code generation.
We have also taken a cursory look at TopLink, but I don't think it is free and I am not sure if it can handle this either. Anyone know the pricing model for TopLink?
[ July 19, 2006: Message edited by: Chris Johnston ]