Hi Andrey, Using JAXB with Sedna XML:DB is quite a good idea, I have actually used it myself in this manner in projects for clients.
What I can say is unlike a Hibernate/JPA bean, which is not persistent (i.e. detached), the XML Bean in Java if you like will not update Sedna directly. Currently, it will be your responsibility to Marshall the Object into XML and then overwrite that record in Sedna. I am thinking about creating an implementation of JAXB which essentially will work on top of Sedna to allow Java Bean Persistence with Sedna. This will work on top of the XQJ Driver I am developing, not Sedna XML:DB. If you would like any further help in this matter, or general advice about designing architecture/systems which make heavy use of XML/Java/J2EE, I am available for consultancy work, please contact me privately about this. Regards, Charles > Hello, > > What is recommended way for Java Bean Persistence with XML:DB API? > > To use JAXB > (http://java.sun.com/developer/technicalArticles/WebServices/jaxb/) > after DOM data retrieval? > > -- > Regards, > > -Andrey > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Sedna-discussion mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sedna-discussion > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Sedna-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sedna-discussion
