I have a classic ASP/VBScript application that needs to call methods in a Java class. I discovered two products that apparently can do this: Java2COM and Java COM Bridge. Can you recommend one from experience, or is there yet another mechanism by which we can do this which is better? I’d rather avoid having to write C++ code if possible, although we could certainly create a COM DLL in VB6 that could in turn call low level APIs as necessary.
Share
To do this you basically need to have a COM Server that then uses JNI to create a JVM and make Java calls. It is a bit tricky and examples are scarce, which may make the products you have listed helpful. I can’t vouch for either of them.
Alternatively, you may want to consider a web service based approach and get to the Java classes that way, depending on what they are and how you’re using them.