How can I implement vtable COM interface in java?
In the old days, I used the JVM Microsft, which was built in java-COM interaction. What is the equivalent for modern JRE?
Answers to a similar SO question suggested by JACOB. I looked at JACOB, but it is based on IDispatch and aims at managing Serial Serial. I need COM interfaces that are custom vtable (extension IUnknown), for example. IPersistStream, IOleWindow, IContextMenu, etc.
In my use case, I could implement all the specific features of COM in JNI, and the level of the JNI call is the corresponding interfaces in java. But I hope for a less painful solution.
This is for an open source project, so open source alternatives are preferred.
EDIT: Com4j looks promising. Looking through available documents, it does not seem to support IClassFactory registration, so a COM object (in java) can be created by non-java clients.
java windows native com
mdma
source share