Dofactory.com
Dofactory.com
 Back to list
Views:   4.8K
Replies:  0
Archived

Serializing entities stored in database using XSD

Hi ,

I need an optimal solution for the following:

1. Objects created by my application are stored in database.
2. I have a number of XSD files.
3. I need to instantiate objects defined in XSD, initialize these with values from the database.
4. Then serialize everything into an XML file.

What I do is to create different objects (XSD contains more than 50 classes), read database and then initialize the object for serialization.

Is there any Pattern available that helps to create and initialize entirely different types of objects (no inheritance involved between classes).

Thanks in advance.

-bluetux 
Bluetux Tux, May 22, 2012
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.