Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating COM objects with Java

Tags:

java

com

To add support for some new features in a VB3.0 legacy application, I need to create a COM object in Java. I found some tutorials in the Internet, but they all refer to the discontinued javareg.exe tool distributed by Microsoft. I was unable to find a download place nor the MSJVM virtual machine required to run the COM object's code.

So, in nowadays, how can I expose a COM-object written in Java to any other application?

like image 248
Matachana Avatar asked Jun 11 '26 10:06

Matachana


1 Answers

Check the ActiveX Bridge.

The ActiveX Bridge allow a component based on JavaBeans(TM) component architecture ("bean") to be effectively packaged as an ActiveX control, thereby allowing it to be used as a functional component in an ActiveX container.

The official documentation : http://download.oracle.com/javase/6/docs/technotes/guides/beans/axbridge/developerguide/index.html

like image 84
RealHowTo Avatar answered Jun 14 '26 00:06

RealHowTo