Hi,

First of all thank you for your reply,

A the beginning, I tried the first example from the castor documentation:
Marshalling and Unmarshalling (the example with the Person class, Castor
reference guide, 1.1.2).
That was working very well.

Now, I would like to go a step further: I would like to communicate with a
relational database.
I read the castor documentation, and when I read the third chapter, it
mentioned JDO.

After a bit searching on the sun documentation, I read this: "If you are an
application programmer, you can use JDO technology to directly store your
Java domain model instances into the persistent store (database)."

And that is exactly what I need : passing from Java (or if it could be XML
it would be better) to a database.
And now I'm trying to do what is said in the third chapter of the doc.

But because of the fact that the example is quite big, I didn't manage to
make it function (see previous mail called from XML to relationnal data).

That's why I am trying now to write a simple example that would work.

Therefore, I re used my Person.java class. I'm now writing an XML and an XML
schemas to be able to generate the so called "domain classes" and/or
"descriptor classes". I have to admit that their use isn't clear to me yet.

So I wrote

Reply via email to