A Model-driven Method for the Design and Deployment of Web-based Document Management Systems