Spring MVC: Beginner’s Guide Second Edition
Author: Amuthan Ganeshan
Print Length 页数: 350 pages
Publisher finelybook 出版社: Packt Publishing; 2nd Revised edition edition (29 July 2016)
Language 语言: English
ISBN-10: 1785880632
ISBN-13: 9781785880636
B01I9PAB2O
Key Features
Work through carefully crafted exercises with detailed explanations for each step will help you understand the concepts with ease
You will gain a clear understanding of the end-to-end request/response life cycle,and each logical component’s responsibility
This book is packed with tips and tricks that demonstrate industry best practices on developing a Spring-MVC-based application
Book Description
Spring MVC helps you build flexible and loosely coupled web applications. The Spring MVC Framework is architected and designed in such a way that every piece of logic and functionality is highly configurable. Also,Spring can integrate effortlessly with other popular web frameworks such as Struts,WebWork,Java Server Faces,and Tapestry.
The book progressively teaches you to configure the Spring development environment,architecture,controllers,libraries,and more before moving on to developing a full web application. It begins with an introduction to the Spring development environment and architecture so you’re familiar with the know-hows. From here,we move on to controllers,views,validations,Spring Tag libraries,and more. Finally,we integrate it all together to develop a web application. You’ll also get to grips with testing applications for reliability.
What you will learn
Familiarize yourself with the anatomy of the Spring 4.X development environment
Understand web application architecture and the Spring MVC request flow
Integrate bean validation and custom validation
Use error handling and exception resolving
Get to grips with REST-based web service development and Ajax
Test your web application
About the Author
Amuthan Ganeshan is a software engineer with more than nine years of experience specializing in building distributed applications. He currently works as a senior software engineer at Uptake. He is a big data enthusiast and loves sharing knowledge about software development and practices through his blog at http://www.codeculture.guru. He can be contacted at amuthan@codeculture.guru.
Contents
Configuring a Spring Development Environment
Spring MVC Architecture – Architecting Your Web Store
Control Your Store with Controllers
Working with Spring Tag Libraries
Working with View Resolver
Internalize Your Store with Interceptor
Incorporating Spring Security
Validate Your Products with a Validator
Give REST to Your Application with Ajax
Float Your Application with Web Flow
Template with Tiles
Testing Your Application
主要特征
通过精心制作的练习,每个步骤的详细说明将有助于您轻松了解这些概念
您将了解端到端的请求/响应生命周期以及每个逻辑组件的责任
本书包含有关开发基于Spring-MVC的应用程序的行业最佳实践的技巧和技巧
图书说明
Spring MVC可以帮助您构建灵活和松散耦合的Web应用程序。 Spring MVC框架的架构和设计使得每一块逻辑和功能都是高度可配置的。此外,Spring可以轻松集成其他流行的Web框架,如Struts,WebWork,Java Server Faces和Tapestry。
本书逐渐教导您配置Spring开发环境,架构,控制器,库等,然后再继续开发完整的Web应用程序。它首先介绍了Spring开发环境和架构,因此您熟悉了诀窍。从这里,我们转到控制器,视图,验证,Spring标签库等。最后,我们将它们整合在一起,开发Web应用程序。您还可以掌握测试应用程序的可靠性。
你会学到什么
熟悉Spring 4.X开发环境的解剖
了解Web应用程序架构和Spring MVC请求流程
集成bean验证和自定义验证
使用错误处理和异常解析
掌握基于REST的Web服务开发和Ajax
测试您的Web应用程序
关于作者
Amuthan Ganeshan是一名软件工程师,拥有9年多的专门从事构建分布式应用的经验。他目前在Uptake担任高级软件工程师。他是一个大数据爱好者,并通过他的博客www.codeculture.guru,分享有关软件开发和实践的知识。他可以联系amuthan@codeculture.guru。
目录
配置Spring开发环境
Spring MVC架构 – 构建您的Web Store
用控制器控制您的商店
使用Spring标签库
使用View Resolver
使用拦截器内部化您的商店
结合Spring Security
使用验证器验证您的产品
使用Ajax为您的应用程序提供REST
用Web流程浮动您的应用程序
模板与瓷砖
测试您的应用程序