‎2010 Mar 17 4:57 PM
Hi,
does anyone knows what's the fastest way to read a XML file throw ABAP or JAVA?
Considering that is DOM in both ways
Thanks in advance to all
Regards
Jaime
‎2010 Mar 24 8:35 PM
Hi Jaime,
In my opinion, XML processing in Java is easier than ABAP. There is a large variety of libraries you can use for DOM and XML parsing. Moreover, ABAP XML processing has memory leak issues which I actually encountered - see notes 1229110 and 1081257.
Regarding the performance question - I don't have empiric data, but in general DOM is less efficient than even driven parsing. If you expect large volumes then DOM is not your best choice anyway. This is another argument to do it in Java, event driven parsing is easier, so switching would be smoother if you choose Java.
To wrap up - I don't have hard numbers or the details of your case, but I would normally choose to do it in Java.
Regards,
Dror