Paul,

Support for what you want is possible but not implemented yet. We do want 
it ... want to help? :-)

Two pieces of work that are needed are:

1) the part that introspects the POJO to build the SDO metatdata. 
Jean-Sebastien Delfino has the start of a prototype for that.
2) the ability to generate a StAX loader/serializer for the POJO. The 
hand-coded loader that is used for the SCA assembly model is the prototype 
that we plan to use to design the generator patterns.

With these two pieces, added to what's already there, I think you'd have 
everything you need to do what you're asking.

Frank.


Paul Tomsic <[EMAIL PROTECTED]> wrote on 04/21/2006 08:23:53 AM:

> 
> > 
> > 1) What's your java object? Is it a JavaBean (or
> > even further, generated 
> > from XSD)?
> 
> serializable pojos, mostly.  there's no XSD, however,
> that represents the object.  so i'm basically looking
> for a "Bean -> XSD -> DataGraph/DataObject ->
> Serialize/Wire -> Bean"
> 
> kinda like JAXB/Jibx/Something kinda marhsalling here.
> 
> the problem is, since i don't have the XSDs, then if
> the pojo changes and version rev's, then i'll also
> have to update the xsd to stay in sync.
> 
> 
> 
> > 3) If your java objects are also created from XSDs,
> > then it's easy to 
> > tranform the java object to SDO and vice versa using
> > XML as the intermediate 
> > format.
> 
> see above.  thanks
> 
> > 
> > Thanks,
> > Raymond
> > 
> > ----- Original Message ----- 
> > From: "Paul Tomsic" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Thursday, April 20, 2006 5:37 PM
> > Subject: java to sdo back to java?
> > 
> > 
> > > is it possible to take an existing java object,
> > and
> > > turn it into SDO (dataobject), maybe serialize it,
> > > persist it, whatever, then convert it back to it's
> > > original java object?
> > >
> > > if so, could someone point me to an example or
> > > something ?
> > >
> > > thanks in advance.
> > >
> > > 
> > 
> > 
> 

Reply via email to