| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||||||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Understanding Java Mapping conceptsBy Ramakrishna Kopparaju Mapping is the way of transforming one XML structure to another XML Structure. As a part of it we do certain operations like breaking child nodes and attaching them to its parent node and more in an XML structure. In XI/PI we have the following mapping techniques
Among
all the above mapping techniques, JAVA mappings improves the performance and are
preferred as they gets executed on J2EE engine directly. But in case
of graphical mapping, XI/PI converts the mapping program into executable Java
code internally based on graphical design and executes it on J2EE engine making
it comparatively less efficiency. Java mappings are more useful when
performance of integration server is concerned during runtime. Java mappings are
Parsing Programs that can be developed in NWDS (NetWeaverDeveloperStudio),
import as .jar files and can be used in the mapping part of Integration
Repository.NWDS provides suitable Java environment and higher level tools
to parse XML documents through the Simple API for XML (SAX) and the Document
Object Model (DOM) interfaces. The SAX and DOM parsers are standards that are
implemented in several different languages.
In the Java programming language, you can instantiate the parsers by using
the Java API for XML Parsing (JAXP).
JAVA
mapping can be done in two ways:
Parsing
is a technique of reading and identifying XML tags from an XML document. DOM
and SAX can either be a validating or a non-validating parser. A
validating parser checks the XML file against the rules imposed by DTD or XML
Schema. A non-validating parser doesn't validate the XML file against a DTD
or XML Schema. Both Validating and non-validating parser checks for the well-formedness
of the XML document. DOM
Parsing Technique:
SAX
PARSING TECHNIQUE
Event Handlers
Advantages
and Disadvantages DOM
Disadvantage: SAX
Disadvantage: Differences
between SAX and DOM parser at a glance
|
|
||||
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||||||