Java与Microsoft Windows Office Suite之间的连接? [英] Java connection to / between Microsoft Windows Office Suite?
问题描述
I read elsewhere (a response by "hazzen" here) that .NET has "a binding for the entire Office suite outlined here that allows you to write COM-based methods that you can call from Office. It is intended for automation, but you can write any managed code you want and have Excel call into it."
我对Java同样感兴趣.我目前的解决方案运行一个运行Windows的标准Windows程序,该程序将启动Java,然后将所有结果实质上发送到标准输出,中间程序将捕获这些结果并将结果反馈到Excel中-还使用等于std-out的值.
I'm interested in the same thing for Java. My present solution runs a standard Windows program that launches Java, whereupon any results are essentially sent to standard out and the intermediate program captures these and feeds the result back in to Excel - also using what amounts to std-out.
必须有更好的方法!
Java有这样的绑定"吗?
Is there such a "binding" available for Java?
我对任何有关此类集成问题的网络文章指针或您所学的知识都感到满意.
I'd also be pleased by any pointers to web articles or whathaveyou that teach about this kind of integration issue.
推荐答案
JCOB , j-Interop 和奥卡姆的手电筒: Java/COM,Java/Win32集成资源具有更多链接.
JCOB, j-Interop and J-Integra might do something like it. Ockham's Flashlight: Java/COM, Java/Win32 Integration resources has more links.
这篇关于Java与Microsoft Windows Office Suite之间的连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!