I was wondering what goes on in the background, since SDO can be used
the way is is used.
 
In the example:
org.apache.tuscany.samples.sdo.specCodeSnippets.CreateDataObjectFromXsdA
ndXmlFiles
 
types are defined in one static method like this:
XSDHelper.INSTANCE.define(is, null);
 
and then in another static method xml is loaded: XMLDocument xmlDoc =
XMLHelper.INSTANCE.load(is);
 
What is the connection between these two separate method invocations?
How does the loading of xml use the types defined above? I assume
something is stored somewhere but how does this relate to garbage
collection and thread safety? I meas somebody could call
XSDHelper.INSTANCE.define(is, null); with another xsd somewhere else in
the same VM?
 
/Chr
 
 
 
 

Reply via email to