djelescu
asked on
Using J++ to make ActiveX control or other com interfaces.
Background:
I recently contracted to port a mathematical algorithm from C++ to java. A wrapper application implemented in C++ (using MFC) exists for testing the C++ version of the algorithm. There is no desire to port the wrapper application, only the algorithm.
The mission:
After rewriting the algorithm in java, I would like the new java code to be integrated with the old wrapper application so it may be verified to function identically.
The strategy:
I think I should use Visual J++ to build a COM interface for the new java code. That would simplify the integration of new java code with existing mfc wrapper application for testing.
Specifics:
1) What flavor COM interface is best? (ActiveX control? Automation Server? Other?)
2) How do I build the COM interface to the new java classes?
3) How do I access the COM interface from the wrapper application in Visual C++?
If you know of a clear, complete, concise tutorial on this topic, that might be ideal.
Otherwise, please try to be as specific as possible in describing the steps to complete this task.
I currently use Visual C++ 5.0 and Visual J++ 1.1.
Cheers!
-D
I recently contracted to port a mathematical algorithm from C++ to java. A wrapper application implemented in C++ (using MFC) exists for testing the C++ version of the algorithm. There is no desire to port the wrapper application, only the algorithm.
The mission:
After rewriting the algorithm in java, I would like the new java code to be integrated with the old wrapper application so it may be verified to function identically.
The strategy:
I think I should use Visual J++ to build a COM interface for the new java code. That would simplify the integration of new java code with existing mfc wrapper application for testing.
Specifics:
1) What flavor COM interface is best? (ActiveX control? Automation Server? Other?)
2) How do I build the COM interface to the new java classes?
3) How do I access the COM interface from the wrapper application in Visual C++?
If you know of a clear, complete, concise tutorial on this topic, that might be ideal.
Otherwise, please try to be as specific as possible in describing the steps to complete this task.
I currently use Visual C++ 5.0 and Visual J++ 1.1.
Cheers!
-D
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
also look
http://www.nevaobject.com/java/
Using COM Objects in Java
http://www.microsoft.com/Java/sdk/40/pg /pg_javacom.htm
http://www.nevaobject.com/java/
Using COM Objects in Java
http://www.microsoft.com/Java/sdk/40/pg /pg_javacom.htm
ASKER