File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Open and Use Microsoft Word through Java ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Open and Use Microsoft Word through Java ???" Watch "Open and Use Microsoft Word through Java ???" New topic

Open and Use Microsoft Word through Java ???

Zac Roberts
Ranch Hand

Joined: Jan 29, 2002
Posts: 82
I am developing a JSP/browser based application that stores mailing addresses in MySQL. These mailing addresses need to be printed to mailing labels somehow. Any ideas? I might be way off but is it possible to open another application like Microsoft Word and use the built in mailing label funtction with data from my database on the fly???
Thanks in advance...

Zac Roberts<br />SCJP2
Thomas Smets
Ranch Hand

Joined: Dec 11, 2001
Posts: 111
Y do you want to make it complex ?
IBM has build a class that allows to talk to MS environment !
There is however two much much better solutions to me :
  • Print from Java itself
  • Generate a PDF & print it

  • At least both solutions can be implemented in pure Java while your will be reaaly plateform specific !

    Thomas Smets
    Just another developper
    I agree. Here's the link:
    subject: Open and Use Microsoft Word through Java ???
    It's not a secret anymore!