简体   繁体   中英

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?

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.

If you need to use the COM object within the Java side of things (ie 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 (ie browser), then it's no different than how you would do it using plain-ole HTML.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM