XML import/export algorithm

G

GG

Hello

I'm under obligation to do export/import data between systems using XML.
Data to tranport are stored in RDBMS.
I'm wonder about algorithm and library to use.
At this moment I'm conviced to JAXB 2.0 ( schema support) with
export/import algorithm:

1. Get data from db using JDBC.
2. Initiate JAXB object
3. Marshalling to xml file
4. Transport message
5. Unmarshalling xml to JAXB objects.
6. Save data using JDBC.

In this solution I have to do additional mapping JDBC/JAXB objects.
Can I simplify this solution using Hibernate and Xstream.

I am grateful to all for help solving this problem.

GG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,778
Messages
2,569,605
Members
45,238
Latest member
Top CryptoPodcasts

Latest Threads

Top