If you need to use a COM object on the Java side (for example, a server), you will need something like J-Integra or JNI Wrapper . There are several open source projects that can perform similar actions.
If you need to use a COM object on the client side (i.e. the browser), then it is no different from how you do it using simple HTML code.
source share