The overhead of JNI may have improved over time, but when I experimented with it many years ago (prototyping a SAX wrapper around Xerces-C++), the performance was rather poor. I suspect too many expensive transitions between C to Java when calling back into the application's ContentHandler. If you're wondering, no, I never completed it. It's lost somewhere on a dead hard drive.
Thanks. Michael Glavassevich XML Technologies and WAS Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org "Lu, Weining X" <weining.x...@intel.com> wrote on 06/02/2016 03:16:19 AM: > Hi, > > We're using Xerces-J to parsing XML in JAVA application on embedded > device but meet performance problem. So we're thinking about > wrapping Xerces-C++ into JAVA with JNI to improve the performance. > And my question is that is there an exist JNI wrapper for Xerces-C+ > +? I have google for a lot of time but find no answer. > > Thanks, > Weining