I am planning to do a project with java for updation of word document through the application.I need to do the following

1. There is a standard document in which i have to find and replace some strings in it.
2. i also need to add some information, if the user desires.
3. i want to open the word document in noneditable format

I am using java servlet with Tomcat WebServer

Please help