Frank and I have been working on a generic StAX loader for SDO and a
generator for the loader.

Is there any effort we can share please? Or is there anything we can do to
reduce possible duplicated effort please?

Is StAXElementLoader or ModelObject something we need to handle specially
during the generic StAX loading of SDO please?

Thanks.



On 6/12/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote:

Raymond Feng wrote:
>
> Please note the return type is required to extend from ModelObject.
> Can it be relaxed to java.lang.Object so that loader implementations
> can return their own types directly?
>

Yes - this fits with the idea that people can use any POJOs as model
objects and are not tied to a specific framework.

> I'm trying to add some generic loaders backed by XML databinding
> frameworks such as SDO. These frameworks usually have their own model
> objects, for example, SDO uses commonj.sdo.DataObject. It's not very
> nice that we have to wrap a native model object into our ModelObject.
>
>

I think you have it backwards here. It is the model objects that are the
native form, not the artifacts generated by some XML binding framework.
Don't forget that Frank is in the process of enhancing SDO to add the
ability to load POJOs directly.

--
Jeremy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Sincerely

Yang ZHONG

Reply via email to