Book Image

Spring MVC Blueprints

By : Sherwin John C. Tragura
Book Image

Spring MVC Blueprints

By: Sherwin John C. Tragura

Overview of this book

Spring MVC is the ideal tool to build modern web applications on the server side. With the arrival of Spring Boot, developers can really focus on the code and deliver great value, leveraging the rich Spring ecosystem with minimal configuration. Spring makes it simple to create RESTful applications, interact with social services, communicate with modern databases, secure your system, and make your code modular and easy to test. It is also easy to deploy the result on different cloud providers. This book starts all the necessary topics in starting a Spring MVC-based application. Moving ahead it explains how to design model objects to handle file objects. save files into a data store and how Spring MVC behaves when an application deals with uploading and downloading files. Further it highlights form transactions and the user of Validation Framework as the tool in validating data input. It shows how to create a customer feedback system which does not require a username or password to log in. It will show you the soft side of Spring MVC where layout and presentation are given importance. Later it will discuss how to use Spring Web Flow on top of Spring MVC to create better web applications. Moving ahead, it will teach you how create an Invoice Module that receives and transport data using Web Services By the end of the book you will be able to create efficient and flexible real-time web applications using all the frameworks in Spring MVC.
Table of Contents (16 chapters)
Spring MVC Blueprints
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

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...