-
How to use Java with C++
I have a robust Java charting package that I need to use in a C++ COM object. I don't know too much about how to get Sun Java and C++ to work together, so I need some suggestions on how to approach the integration. Currently, the only thing I've been able to think of is to wrap the Java charting package in a Java application and have the C++ COM object spawn the Java app as a seperate process and feed it data.
Furthermore, this COM object would called from ASP. I would like to call the Java package directly from ASP, but I have no clue how to do this.
Also, does anyone know of a very robust C++ charting package that can be used freely? This would cut out the Java integration problem completely.
Thanks,
Ryan
-
easy: wrap your java package into an activeX component. then call your activeX component from the ASP. No need to have C++ and Java mixed up. The result is a COM object.
-
You can do that with Sun Java? I knew you could with MS's Java implementation, but didn't know you could with Sun's. I'll take a look at the project options that Forte/Netbeans gives me. Thanks.