How can I load a COM oject from a JSP page?

I am developing a JSP application and am being forced to load a COM object. Can such a thing can be done?

If yes, how?

Asked by: Connie743 | Posted: 28-01-2022

Answer 1

It is possible using a COM bridge like JACOB.

JACOB is a JAVA-COM Bridge that allows you to call COM Automation components from Java. It uses JNI to make native calls into the COM and Win32 libraries.

Answered by: Tess959 | Posted: 01-03-2022

Answer 2

If you need to use the COM object within the Java side of things (i.e. server), you will need something like J-Integra or JNI Wrapper. There are several open-source projects that can do similar things.

If you need the use a COM object on the client-side (i.e. browser), then it's no different than how you would do it using plain-ole HTML.

Answered by: Brooke646 | Posted: 01-03-2022

Similar questions

Still can't find your answer? Check out these amazing Java communities for help...

Java Reddit Community | Java Help Reddit Community | Java Community | Java Discord | Java Programmers (Facebook) | Java developers (Facebook)