Skip to content
Sylvestre Ledru edited this page May 17, 2014 · 10 revisions

Thanks to GIWS, you can call a Java application from C++ just like that (it is C++ code):

MyComplexClass *testOfMyClass = new MyComplexClass(jvm);

cout << "My Computation : " << testOfMyClass.myVeryComplexComputation(1.2,80) << endl;

GIWS can:

  • Quickly map a Java object in C++ transparently
  • Manage all Java primitive types
    
  • Manage Java String
    
  • Manage array of primitive types and strings
    
  • Manage array of array of primitive types and strings
    
  • Throws exception (or not) in case of error
    
  • Others things
    

See the tutorial for more information

Clone this wiki locally