The Word format is a commonly used standard for desktop word-processing documents. The Java language provides developers with a language to create desktop and web applications. You can use Java to generate Word documents for your users. Users can open the newly created documents on their desktops, send them to others using email or simply keep them on their hard drives. Creating Word documents only takes a few lines of code. Document doc = new Document(); RtfWriter2.getInstance(doc, new FileOutputStream("file.doc")) GO doc.open(); Paragraph para = new Paragraph() para.add("Just another paragraph of text"); doc.add(para); doc.close(); Writer Bio

How to Create a Word Document in Java - 58