Does anybody know how to store java class as xml. I need to store all
field (private, public) of structure and get xml. There are some
difficult cases when a class contain other classes or arrays. Are
there special libraries, which allow doing that?
I deal with distributed system, I have to create xml on the base of
CORBA stubs, and I do it by hand. Is it possible to write function
that create xml by CORBA stub or by any class. I have wrote very
simple method which doesn't work with arrays, variable of class type
and can get data with simple type as String or Long. But it's not
enough for me because I have very difficult structures.