I would like to create a word document using a template, replace some variables (fields) and save it as a new word document.
I was thinking using Apache POI, http:/
I'm not sure of the exact status of the Word documents support in POI but, according to the POI website, work is still in progress (can't say what this mean exactly). So, at this time, I would not use POI but rather try to generate a RTF document. For this, you could :
I'd go for iText.