ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ws Wiki] Update of "Tuscany/TuscanyJava/Extending/StAXLoading" by edslattery
Date Fri, 12 May 2006 13:09:08 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by edslattery:
http://wiki.apache.org/ws/Tuscany/TuscanyJava/Extending/StAXLoading

------------------------------------------------------------------------------
+ ## page was renamed from Tuscany/Extending/StAXLoading
  The XML used for the SCA Assembly model is structurally quite simple but very extensible;
almost every element support extension elements and the specification itself uses substitution
groups to allow specific types of implementation and binding to replace/extend key elements.
Further, the model itself makes reference to artifacts located outside the XML instance (such
as WSDL definitions, Java classes and other SCA artifacts like componentType sidefiles) that
are needed to build up the complete representation of an application.
  
  To handle this extensibility and the external artifacts, in Tuscany we have chose to use
a streaming approach to parsing based on the Java StAX framework. Rather than load XML artifacts
into objects using a data binding technology such as SDO or JAXB, the loader framework provides
a mechanism for extension to register their willingness to parse any XML element. As the XML
file is read, elements are dispatched to registered loaders who can then handle the stream
in any way they choose. As part of processing the stream, they can also read any associated
artifacts especially those that may be needed later during the configuration loading process
(such as WSDL definitions).

Mime
View raw message