| From | Sent On | Attachments |
|---|---|---|
| Michael Rowley | Oct 24, 2007 5:13 pm |
| Subject: | Errata for the Java Component Implementation Specification | |
|---|---|---|
| From: | Michael Rowley (mrow...@bea.com) | |
| Date: | Oct 24, 2007 5:13:57 pm | |
| List: | org.oasis-open.lists.sca-j | |
On behalf of BEA Systems, I hereby contribute the following suggested errata for the SCA Java Component Implementation Specification.
The line numbers and section numbers are based on the corresponding input specification for this TC.
Michael Rowley
1. @Remotable annotation only valid on interfaces not classes
Delete the words "or implementation class" from lines 123 and 134.
2. Fix table of contents
Section 1.2.3 in the table of contents incorrectly references a section that is subsection of 1.2.2. All subsequent sections of 1.2 then should decrement their third-level section number.
3. Fix namespace declarations
On lines 65 and 91 have declarations of:
xmlns="http://www.osoa.org/xmlns/sca/0.9"
which should be changed to:
xmlns="http://www.osoa.org/xmlns/sca/1.0"
4. Fix and clarify algorithm for determining references of an unannotated POJO (section 1.2.7)
Replace the algorithm on lines 369-377 with the following:
1) If the Java type is an interface annotated with @Remotable, then it's a reference.
2) Otherwise, if the Java type is an array whose element type is an interface annotated with @Remotable, then it's a reference.
3) Otherwise, if the Java type is a java.util.Collection or a sub-interface or sub-class of it, if the parameterized type of the collection is an interface annotated with @Remotable, then it's a reference.
4) Otherwise it's a property.





