answered Feb 6 '13
I think you should made the training on desktop with C++ code, and only load the XML in java.