Best open source (or cheap) library for Read/Writing Word documents

I have created a java database application.  I now want to fill in word documents (.doc or .docx files) with data from this database.  These files will change frequently, but the data to be inserted into the documents will always be in the same format.

Reading in a template, then filling in the blanks and re-saving the file seems to be the best solution.
Hard coding the file generators, would mean that the software would have to be rewritten every time a form changes.

Is there any java library capable of this?  If not is there any library that is capable of this?
Also this is non-profit, and low budget, so it would have to be open source, or cheap.

I have looked at the apache poi HWPF library, but found no examples, or any mention of it being capable of this.

Thanks for your help!

DRJTowerAsked:
Who is Participating?
 
DRJTowerAuthor Commented:
Thanks!!  These are some good resources.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.