Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×
Java

+ - Controlling Microsoft Office from Java, seamlessly

Submitted by sbohmann
sbohmann (921713) 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?"

TRANSACTION CANCELLED - FARECARD RETURNED

Working...