Spring MVC Blueprints
eBook - ePub

Spring MVC Blueprints

Sherwin John Calleja Tragura

Share book
  1. 490 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Spring MVC Blueprints

Sherwin John Calleja Tragura

Book details
Book preview
Table of contents
Citations

About This Book

Design and implement real-world web-based applications using the Spring Framework 4.x specification based on technical documentation

About This Book

  • Learn all the details of implementing Spring 4.x MVC applications from basic core platform construction to advanced integration implementations
  • Gain a complete reference guide to implementing the controllers, models, views, view resolvers, and other service-related components to solve various real-world problems
  • Discover the possible optimal solutions for developers and experts to build enterprise and personal web-based applications
  • Create a Spring MVC application that has a validation process and exception handling with the HTTP status codes

Who This Book Is For

This book is for competent Spring developers who wish to understand how to develop complex yet flexible applications with Spring MVC. You must have a good knowledge of JAVA programming and be familiar with the basics of Spring.

What You Will Learn

  • Set up and configure the Spring 4.x MVC platform from ground level up using the basic Spring Framework 4.x APIs
  • Study requirements and manage solutions on file uploading transactions in Spring 4.x applications Configure, and test Spring integration to the Hibernate, MyBatis, and JPA frameworks for database transactions
  • Properly implement exception handlers and audit trails in Spring MVC applications
  • Generate reports using JFreeChart, Google Charts, JasperReports, DynamicReports, FreeMarker, Velocity, and Spring's API known as ContentNegotiatingViewResolver
  • Configure security and flexibility by adding Captcha, Spring Security, Spring Flow, Spring Portlets, JTA to improve data management performance
  • Implement web services using Spring's RESTful implementation and other service-oriented integration plugins
  • Design and implement a Spring 4.x application using AngularJS, ExtJs, Twitter Bootstrap, and Spring Mobile for responsive web design

In Detail

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.

Style and approach

This book is a compendium of technical specification documents that will guide you through building an application using Spring 4.x MVC. Each chapter starts with a high-level wireframe design of the software followed by how to set up and configure different libraries and tools.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Spring MVC Blueprints an online PDF/ePUB?
Yes, you can access Spring MVC Blueprints by Sherwin John Calleja Tragura in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Java. We have over one million books available in our catalogue for you to explore.

Information

Year
2016
ISBN
9781785888274
Edition
1

Spring MVC Blueprints


Spring MVC Blueprints

Copyright Ā© 2016 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: July 2016
Production reference: 1250716
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78588-827-4
www.packtpub.com

Credits

Author
Sherwin John Calleja Tragura
Copy Editor
Safis Editing
Reviewer
Samer ABDELKAFI
Project Coordinator
Suzanne Coutinho
Commissioning Editor
Priya Singh
Proofreader
Safis Editing
Acquisition Editor
Smeet Thakkar
Indexer
Rekha Nair
Content Development Editor
Zeeyan Pinheiro
Production Coordinator
Aparna Bhagat
Technical Editors
Abhishek Kotian
Vivek Pala
Cover Work
Aparna Bhagat

About the Author

Sherwin John Calleja Tragura started his career as a student assistant and a mathematics tutor during his college years at the University of the Philippines Los BaƱos, Laguna, Philippines. With meager resources, he graduated as a Department of Science and Technology (DOST) R.A. 7687 scholar under the bachelor of computer science degree. Immediately after graduation, he took up the offer to teach CMSC 150 (numerical and symbolic computation) at the Institute of Computer Science and completed his masters degree in computer science simultaneously. He became part of the International Rice Research Institute (IRRI) software team, which gave him the opportunity to use Struts, Spring, and RCP frameworks in many of its software projects.
Based on his experience at IRRI, he was given the opportunity to work as a Java analyst in various companies in Manila, such as ABSI, PHILAM- AIG, and Ayala Systems and Technology Inc. (ASTI). These companies have strengthened his skillset through training in Java and Java Enterprise platforms and some popular tools such as EMC Documentum and Alfresco Document and Records Management System. He got his first career certification in the EMC Documentum Proven Associate course (E20-120).
After a few years, he decided to become an independent consultant and trainer, providing services mostly on Java-based projects, Alfresco, and Apache OFBiz requirement. He started his venture as a Java-JEE Bootcamp with 77Global and is currently the trainer at Software Laboratory Inc. (SLI), Alibata Business and Technology Services Inc., and Nityo Infotech, Philippines. He also conducts training and talks around the Philippines such as in Cebu City and Tacloban City.
Sherwin has contributed as a technical reviewer on various books by Packt Publishing, these include: Delphi Cookbook, Alfresco 3 Records Management, Alfresco Share, and Mastering Hibernate. He owes everything to Packt Publishing with the unforgettable experiences on technical editing tasks, which have been an essential part of his career.
As an Oracle Certified Associate and Java SE 7 Programmer (1Z0-803), author will continue his mandate as a technical trainer, developer, architect, and designer to help the industry improve its standards on information technology. He will always be the epitome of honor, excellence, and service when it comes to software development and business intelligence.
This book is dedicated to my father, Cesar Tragura, who passed away on July 8, 2016 while I was adding the finishing touch to this book. I am greatly saddened about your sudden passing, but I know, after all, that you are happy for my first book, and you will always be happy for me and my brother. Thank you for all the memories. Goodbye.

About the Reviewer

Samer ABDELKAFI has over 10 years of experience as a software architect and engineer.
He has contributed to numerous and diverse projects (web applications, data integration, batch, security solutions, web services, and many more) in different sectors, such as banking, insurance, education, public services, and utility billing.
In his free time, he enjoys blogging and sharing his experience on his site (https://samerabdelkafi.wordpress.com).

www.PacktPub.com

For support files and downloads related to your book, please visit www.PacktPub.com.

eBooks, discount offers, and more

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
eBooks, discount offers, and more
https://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.

Why subscribe?

  • Fully searchable across every book published by Packt
  • Copy and paste, print, and bookmark content
  • On demand and accessible via a web browser

Free access for Packt account holders

Get notified! Find out when new books are published by following @PacktEnterprise on Twitter or the Packt Enterprise Facebook page.

Preface

Many books have been written about Spring Framework that discuss its design patterns and principles, core components, and coding standards and styles, as well as the configuration details of its container, all of which provide a good start to creating a web application. Some literature focuses more on the new features of every release and provides a marketing model for how Spring can help boost the software industry. There are a few that serve as a cookbook of Spring definitions and components for advanced users. Rarely are books written that provide readers with all the core concepts of the Spring specification in collaboration with the most common and popular software libraries, plugins, or frameworks needed to create software with optimal, if not fast, performance, efficient and effective workflows, clever data presentation and business intelligence, standardized graphical user interfaces, and testable, robust, and simple architecture.
This book offers 10 chapters that aim to provide a full guide to maximizing the features of Spring in order to provide technical solutions to some needs from different areas of discipline. It consists of basic concepts about how to start implementing and deploying Spring applications. It provides some new workarounds to Spring users and poses open-ended questions to advanced developers to continue doing research on the Spring 4.x specification.
Writing this book was time consuming since each chapter has its own dedicated software blueprint to be implemented in order to exhibit all the concepts elaborated in the chapters. Not only the results, but also the technical issues and bugs have been taken into consideration to check whether all functional specifications can fit into one project with the correct API library versions available. Due to time constraints, not all software blueprints are as good as finished products yet, but they are fully executable specimens for the book, covering all the details of the Spring 4.x framework.

What this book covers

Chapter 1, Creating a Personal Web Portal (PWP), highlights the Inverse of Control (IoC) and Dependency Injection (DI) design patterns of the Spring 4.x MVC architecture. All classes and interfaces of Spring 4.x specification, which create the t...

Table of contents