[EMAIL PROTECTED] wrote:
>
> Hi,
> we want use the castor framework for java to xml mapping. Our java
> application exists. The preferred way should be to create a set of mapping
> files with a minimal changing the existing code (getter/setter and default
> constructors exists also). But, our tests fail because ths unmarshalling
> was not successful.
Well....that doesn't help me very much. Can you send a *small* example
which demonstrates the failure?
> In the java application we don't use your jdo framwork.
That's ok. It's not required.
> We use a persistence framework which has specialized object container and
> object lists to realize references between objects. That's the core of our
> problems. We need some help for the recommended way of our mapping problem.
> Is the best way the creation of marshal() and unmarshal() methods for
> classes - its not so elegant and expensive?
marshal() and unmarshal() methods will not be called by the Marshalling
Framework. We currently do not have any special "marshalling interface"
that you could implement.
> Or our preferred way described above?
yes, mapping file is the way to go.
--Keith
> Also we have ideas with a
> transient object which contained the persistent object tree and a specified
> 'create-method' for object container in the mapping file. I hope to get
> some advices.
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev