Re: populating MS Word document using java bean.
Tuesday, May 22, 2001 02:10 AM
Check out the Bridge2Java package from IBM Alphaworks (www.alphaworks.ibm.com). It allows you to access COM applications from inside a Java program. The download includes examples on how to modify an Excel spreadsheet or (I recall) a Word document from inside a Java program. The performance of an older version of Bridge2Java was not stellar, but the package got updated recently so maybe performance is better now.
In addition to Bridge2Java, there are other, commercial Java/COM bridges. However, unless you have a problem with the licensing or you need this functionality on an industrial scale, Bridge2Java is probably adequate.