On 6/30/06, Yang ZHONG <[EMAIL PROTECTED]> wrote:
Tuscany InterOp / JIRA 505 (http://issues.apache.org/jira/browse/TUSCANY-505)
brings us an interesting topic:
there're code or users interested in loading XML, then who is responsible to
load schema?

Here lists some thoughts JUST as a START, it's much more important if YOU
brainstorm please.

Comments inline ...

I can think of 3 options so far:
3-1. code or users who to load XML, loads schema themselves

I think this always need to be available as an option - sometimes it's
the application that knows what to do rather than the infrastructure.
There are APIs for this in the SDO; we provide the @SDOHelper
annotation in SCA that allow them to be injected (to avoid the
.INSTANCE anti-pattern).

I think we could also enhance the introspector to detect properties
whose values are SDO helpers and could eliminate the need for the
annotation. This would be one of the introspections contributed by the
SDO databinding.

3-2. SCA loads component interfaces (WSDL) related schema automatically

and not just from WSDL...

I alos mentioned on the TypeHelper thread that we should provide a
mechanism that allowed components to import SDO definitions in their
component-type definition.

3-3. SDO LOCATES and loads schema automatically

I don't think SDO should do this. Specifically, I mean the basic SDO
implementation should not do this - it may be a feature of some
framework that is using SDO (like Tuscany't SCA framework).

<snip/>
--
Jeremy

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

Reply via email to