Spring MVC Beginners Guide - Second Edition

Amuthan Ganeshan

  • 出版商: Packt Publishing
  • 出版日期: 2016-07-29
  • 售價: $1,950
  • 貴賓價: 9.5$1,853
  • 語言: 英文
  • 頁數: 350
  • 裝訂: Paperback
  • ISBN: 1785880632
  • ISBN-13: 9781785880636
  • 相關分類: Java 相關技術
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

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 www.codeculture.guru. He can be contacted at amuthan@codeculture.guru.

Table of Contents

  1. Configuring a Spring Development Environment
  2. Spring MVC Architecture – Architecting Your Web Store
  3. Control Your Store with Controllers
  4. Working with Spring Tag Libraries
  5. Working with View Resolver
  6. Internalize Your Store with Interceptor
  7. Incorporating Spring Security
  8. Validate Your Products with a Validator
  9. Give REST to Your Application with Ajax
  10. Float Your Application with Web Flow
  11. Template with Tiles
  12. Testing Your Application
  13. Using the Gradle Build Tool
  14. Pop Quiz Answers

商品描述(中文翻譯)

主要特點


  • 通過精心設計的練習和詳細的解釋,幫助您輕鬆理解概念

  • 您將清楚了解端到端的請求/響應生命週期,以及每個邏輯組件的責任

  • 本書充滿了展示基於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 是一位擁有九年以上經驗的軟體工程師,專注於構建分佈式應用程序。他目前在Uptake擔任高級軟體工程師。他是一位大數據愛好者,喜歡通過他的博客www.codeculture.guru分享軟體開發和實踐方面的知識。您可以通過amuthan@codeculture.guru與他聯繫。

目錄


  1. 配置Spring開發環境

  2. Spring MVC架構 - 設計您的Web商店

  3. 使用控制器控制您的商店

  4. 使用Spring標籤庫

  5. 使用視圖解析器

  6. 使用攔截器內部化您的商店

  7. 整合Spring安全性

  8. 使用驗證器驗證您的產品

  9. 使用Ajax為應用程序提供REST

  10. 使用Web Flow浮動您的應用程序

  11. 使用Tiles進行模板化

  12. 測試您的應用程序

  13. 使用Gradle構建工具

  14. 小測驗答案