
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Hi, I am fairly new to JiBX, have some experience with JAXB. Here's the situation I'd very much value your view on:
I am currently involved in a project which involves a native XML database, where an XML document can be retrieved very efficiently as a DOM tree. Manipulations to the DOM tree are (also very efficiently) persisted in the database after a transaction commit.
Now, within our project we would like to not program against the DOM API, but Java objects generated FROM DOM documents based on their schema. Hence our interest in Binding frameworks (obviously).
However, while I understand that constructing Java objects from a DOM tree is not a problem, invoking the SETTERS on such objects does not mean direct manipulation of the underlying DOM tree. Instead, when done, the manipulated object has to be serialized as a whole, replacing the entire document (in our case, the document in the XML database).
This clearly leaves us with some inherent inefficiency, which we are looking to avoid somehow.
So, my question is: is there a way (with JiBX) to have generated "setter" code directly manipulate the underlying DOM tree from which the Java object is generated?
Any help will be appreciated.
--Mark--
Express yourself instantly with MSN Messenger!
MSN Messenger
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
jibx-users mailing list
jibx-users@...
https://lists.sourceforge.net/lists/listinfo/jibx-users