How do I do COM Interop in Java?

江枫思渺然 提交于 2019-12-11 06:25:29

问题


I am a .NET programmer working with a Java Spring Boot project to create a REST API. I need to do some COM interop with an Excel spreadsheet from within the Spring Boot application.

How do I go about doing that?

I know the code to write. I just don't know the tools. Specifically, what jar files do I need to reference? Where do I get them from?


回答1:


I would prefer

https://poi.apache.org/

Otherwise you can use "Java Access Bridge", here is an overview

https://docs.oracle.com/javase/8/docs/technotes/guides/access/jab/introduction.html#jab-overview



来源:https://stackoverflow.com/questions/45729786/how-do-i-do-com-interop-in-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!