I came across this interesting post at Simon Guests blog
The idea is cool and hence worth sharing with you all!
Creating Word documents on IBM WebSphere and BEA WebLogic
Running IBM WebSphere, BEA WebLogic or another J2EE application server? Wish you could generate server-side Microsoft Word documents without any third party add-ins? With Microsoft Office 2003 and an XML reference schema called WordML, you can do this today.
Here's the first part in a series that shows you how