Andreas,

You could use OpenEJB which actually uses Castor JDO for CMP Persistence
and employs Castor XML.  Jboss also has Castor integration, though, I
don't have any details on that.  That would definitely be the approach
I'd go if I had to do any complex manipulation/validation of the XML
data before inserting it into the database.

Another option is to use the Oracle XDK which has a servlet
(XSQLServlet) that can import/export data from the DB.  It great for
simple things.  The limitations there are no distributed or long
transaction support, and that it only marshals from XML->SQL and
SQL->XML. Castor can do both transactions and complex marshalling from
XML->Java->SQL and SQL->Java->XML.

-David


> -----Original Message-----
> From: Andreas von Doemming [mailto:doemming@;tuhh.de] 
> Sent: Tuesday, October 22, 2002 9:00 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] mirror of complete db-table to xml?
> 
> 
> Hi,
> We are using EJBs with jboss and oracle here. 
> Now we want to add a xml-Import/Export to the database.
>  Now my questions:
> 1. I've seen now a lot of examples, but they always stor just 
> one single bean 
> to xml. What's when I want to export/import - or marhall/unmarshall a 
> complete db-table (to a huge xml-file with all the data)? 
> 2. is it possible to use CMP-EJB and CASTOR at the same time 
> ? 3. or is there a better idea ?
> 
> Well, documentation is rare, so I will be happy about every 
> example or any 
> hint,
> 
> thank you!
> regards,
>  Andreas
> 
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to 
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev
> 

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to