title: Saving document to server in Java
body: <p>We have an existing web application written in Java. We want to give our users the ability to open a Word document that is stored in our application on the server.  So when the user downloads the document from our server, Word pops up and they then can edit this document on the client.  Once finished editing the document we would like to give them the ability to save this document automatically back to the server where they retrieved it, by simply selecting on the Word Save icon.  Similar to how SharePoint does it.</p>
  
  <p>Seems to me SharePoint would be a good solution for this and they do it very well, but unfortunately we cannot use SharePoint in our architecture.  </p>
  
  <p>There also seems to be a lot of server-side possibilities that we can use to upload and open word documents from our server, I feel we can solve these use cases easily.</p>
  
  <p><strong>My big problem is the automatic saving of an edited document by the client back to our server where the document was downloaded</strong></p>
  
  <p>I am not Microsoft proficient to know what the best solution would be.</p>
  
  <ol>
  <li>Should we write a Word AddIn to save to our server?</li>
  <li>How do we get the Word AddIn into our users desktops?</li>
  <li>Can we embed a Word AddIn into the Word document that is opened on the client?</li>
  </ol>