Using source generator i am able to generate the classes using nomarshall switch.  For reasons that i won't get into, it is a little more convenient for me to not have the builtin unmarshal methods This relates to finding the appropriate static unmarshal method in the correct class etc.
 
My question is this.
 
Is there any difference between calling the marshal/unmarshal methods as part of the generated classes, verses, using Unmarshaller
and Marshaller classes independently and passing the input stream and Class?
 
Any performance hit for instantiating the above objects?  Threading issues?
 
I do not use a mapping file, nor do i need one.  I simply instantiate the above to classes as appropriate and pass either an object to marshal, or a reader and class to unmarshal.
 
thanks for any input.
 
 

Reply via email to