title: Whats the best way to implement a simple document management system?
body: <p>I am planning to build a simple document management system. Preferably built around the java platform. Are there are best practices around this? The requirements are :</p>
  
  <ol>
  <li>Ability to upload documents</li>
  <li>Ability to Tag documents</li>
  <li>Version the documents</li>
  <li>Comment on documents </li>
  </ol>
  
  <p>There are a couple of options that I am currently considering. The first option would be a simple API on top of SVN or CVS and use a DB backend to track tags, uploader, comments etc</p>
  
  <p>Another option is to use the filesystem. Version the documents as copies in a versions folder and work with filenames. </p>
  
  <p>Or, if there is an Open non GPL'ed doc management system, we could customize it to our needs and package it in our application. Does anybody have any experience building something like this? </p>