Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×
Java

Submission + - Controlling Microsoft Office from Java, seamlessly

sbohmann writes: Widely ignored, but still fully functional, I recently discovered IBM / Rational's good old Java-COM-bridge. I had long been searching for a way to control Microsoft Office and other Windows Applications from Java, and it turned out that with just minimal effort, doing that is not much more sophisticated than doing it from .Net, because unlike with other solutions, Java classes and packages are created that reflect the bridged COM API, so there is no need to pass method and parameter names as strings.

I was immediately able to start MS Word, create a new document, fill it with text and tables and save it to a file, all from Java code. And, unlike some proprietary tools, this Java-COM-bridge seems to be free to use and integrates excellently with recent versions of Eclipse, despite its age.

Does this support the idea of doing virtually anything in Java, including Desktop Applications, even with COM support?

Technology is dominated by those who manage what they do not understand.

Working...