Spring MVC Blueprints
上QQ阅读APP看书,第一时间看更新

Overview of the project

The software specimen focuses only on the uploading and downloading solutions. It gives a simple conceptual framework on how to use the Spring MVC framework in creating a document library. No database management system will be used, except if the metadata are required to be backed up for future retrieval. All documents will be saved directly into the file system.

The simple prototype has the following pages:

  • The Home Page: This is the façade of the software, containing the logo, main content and ads of the site. All general links and functionalities are found on this page. This page also contains the login functionality of the application:
  • The Upload Page: This is where the user will upload the document(s). The page asks for a file and needs to be redirected to the location of the file. It will also ask for some information related to the document, such as rendition types, the name of the uploader, and date of upload. Clicking the upload button will trigger the uploading transaction, given all requirements are met.
  • The Download Page: This page is a prototype that renders a table of all the files uploaded, and creates download links per document.

Given the preceding wireframes, the strength of the prototype will be in the uploading and downloading of any types of documents with validation constraints. The file uploading operations will cover implementation on how to:

  • Upload single and multiple documents to the local repository or file system using the core IO streams
  • Upload documents to FTP servers
  • Upload documents using AJAX libraries such as JQuery data form plugins and JQuery generic library
  • Upload documents with encryption and decryption for added security

On the other hand, the downloading solution will focus on typical file downloads and FTP file retrieval, which technically is a process of downloading files too.