on 02-17-2008 10:01 AM
We have some mappings(Graphical, XSLAT, JAVA and ABAP with DOM parser and SAX parser). In this what is the order of faster execution.
HI,
Performance wise the fastest mapping is XSLT mapping (Some experties may have different opinion i.e. Java Mapping) But its completely based on the amount data to be processed in the interface.
For large amount of Data XSLT mapping is faster and for small amount of Data Java mapping is best.
Thus after XSLT and JAVA mapping the sequence will be as Graphical mapping then ABAP mapping.
Graphical mapping is internally uses SAX parser.
Java mapping provides the parsers as SAX parser and DOM Parsers for XML messages
SAX parser takes the input XML and parses it element wise. Do it is difficult to trace back or to keep the relationship with parent nodes. This is the reason why SAX is faster than DOM. SAX comes in picture, when parsing is required for large XML docs.
Incase of DOM, scans the whole XML doc and creates a corresponding tree structure in the memory. So it shows all the relationship with the corresponding nodes. Because of this DOM is a bit slower than SAX. DOM is the best to use small XML docs and if want to keep the previous XML struture.
.
There are some blogs are already available to describe the performance of different types of mappings
/people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
Please refer below links for details
/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
http://help.sap.com/saphelp_nw04/helpdata/en/ce/1d753cab14a909e10000000a11405a/frameset.htm
XSLT Mapping:
http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
Java Mapping:
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
Links of blogs on java mapping...
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
Have a look at this blog on XSLT mapping in ccbpm:
/people/sap.user72/blog/2005/03/15/using-xslt-mapping-in-a-ccbpm-scenario
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping(file to xslt mapping)
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners(xslt with java enhancement function)
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.