OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-j message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [sca-j] [JAVA-2] Determining the data binding to use (e.g. JAXB or SDO)


It would be really useful to have an extensible way to express (or hint) the databinding. There are a few use cases:

1) The java type is not always introspectable to figure out the underlying databinding, either the java type doesn't have a unique pattern (for example, SDO can generate plain interfaces) or the java type can be used to represent different things (for example, byte[], String, InputStream can have different content types such as XML, JSON).

2) To work with XML data using dynamic objects such as DOM Node or SDO DataObject, sometimes we need to provide additional information, for example, the QName of the element or type.

3) To help the Property type introspection or value injection from XML, we need to know the databinding for the java type of the property too.

Thanks,
Raymond



From: David Booz/Poughkeepsie/IBM@IBMUS
To: sca-j@lists.oasis-open.org
Date: 02/20/2009 06:09 AM
Subject: Re: [sca-j] [JAVA-2] Determining the data binding to use (e.g. JAXB or SDO)





I don't think that's an acceptable answer. Given that the application databinding is an open extensibility point in the programming model, the applications will need a way (a hint maybe) to indicate the databinding technology they are using (it is not always introspectable). At the very minimum I think we need an extensibility point analogous to <wireFormat/>.

If I would have known you were thinking of CNAing this, I would have taken over the issue to provide a proposal. I guess I now need to come up with a proposal in the next few days.

Dave Booz
STSM, BPM and SCA Architecture
Co-Chair OASIS SCA-Policy TC and SCA-J TC
"Distributed objects first, then world hunger"
Poughkeepsie, NY (845)-435-6093 or 8-295-6093
e-mail:booz@us.ibm.com

Inactive hide details for "Pavlov, Plamen" ---02/20/2009 06:48:15 AM---Hi Folks, Taking into account the short time frame till "Pavlov, Plamen" ---02/20/2009 06:48:15 AM---Hi Folks, Taking into account the short time frame till the public review and the

From:

"Pavlov, Plamen" <plamen.pavlov@sap.com>

To:

<sca-j@lists.oasis-open.org>

Date:

02/20/2009 06:48 AM

Subject:

[sca-j] [JAVA-2] Determining the data binding to use (e.g. JAXB or SDO)





Hi Folks,

Taking into account the short time frame till the public review and the complexity of the topic, the proposal is:

Close current issue with no action and leave the discussion for the next release.

Best Regards,

Plamen

S/MIME Cryptographic Signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]