JavaBeans ActiveX Bridge for Java 8?

前端 未结 1 964
自闭症患者
自闭症患者 2021-01-14 21:38

There used to be a JavaBeans ActiveX Bridge but AFAIK this is no longer supported under Java 8.

I want to call my JavaBeans from Excel, so what is the way to go with

1条回答
  •  执笔经年
    2021-01-14 22:07

    I solved the problem using Obba: I read the Java bean with a Java parser and generated a VBA wrapper method for each Java method that I want to call. The wrapper calls the original Java method using Obba. I created a VBA class containing all the wrapper methods and use it to access the bean from my VBA code.

    The Java ActiveX bridge would have spared me the work of creating the VBA wrapper class.

    0 讨论(0)
提交回复
热议问题