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: [NEW ISSUE] Java C&I Specification needs to define the default mapping ofProperty fields



Raiser:                Mike Edwards

Target:                sca-javaci-1.1-spec-cd01-rev2.doc

Description:

a) Section 8 describing the componentType mapping of a @Property annotation does not make it clear that
the JAXB mapping is the default mapping, but that others are potentially possible

b) Section 8 describing the componentType mapping of a Java POJO with no @Reference and no @Property
annotations does not say that the type mapping follows the JAXB mapping by default but that other mappings
are potentially possible.

Proposal:

a) In the subsection of section 8 which begins "A <property/> element exists for each @Property annotation:", add the following
at the end of the 3rd bullet (deals with type mapping):

"Note that JAXB mapping is the default mapping, but that other mappings are possible, where supported by the SCA runtime
(for example, SDO).  How such alternative mappings are indicated is not described in this specification."

b) In the subsection of section 8.2 which begins:

"An unannotated field or setter method is a property if..."

replace the 2nd bullet with the following:


"type attribute and element attribute are set as described for a property declared via a @Property annotation, following the
JAXB mapping of the Java type of the field or setter method by default.  Note that other mappings are possible, where
supported by the SCA runtime (for example, SDO).  How such alternative mappings are indicated is not described in this specification."



Yours,  Mike.

Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  
Email:  mike_edwards@uk.ibm.com





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU








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