文件名称:精通Spring.MVC
文件大小:13.77MB
文件格式:PDF
更新时间:2015-12-13 07:50:05
java Spring
中文名: 精通Spring MVC 原名: Pro Spring MVC With Web Flow 作者: Deinum Serneels Yates Ladd Vanfleteren图书分类: 软件 资源格式: PDF 版本: 英文版 出版社: Apress书号: 978-1-4302-4155-3发行时间: 2012年 地区: 美国 语言: 英文 简介: 内容介绍: MVC (Model View Controller)本来是存在于Desktop程序中的,M是指数据模型,V是指用户界面,C则是控制器。使用MVC的目的是将M和V的实现代码分离,从而使同一个程序可以使用不同的表现形式。比如一批统计数据你可以分别用柱状图、饼图来表示。C存在的目的则是确保M和V的同步,一旦M改变,V应该同步更新。 Pro Spring MVC provides in-depth coverage of Spring MVC and Spring Web Flow, two highly customizable and powerful web frameworks brought to you by the developers and community of the Spring Framework. Spring MVC is a modern web application framework built upon the Spring Framework, and Spring Web Flow is a project that complements Spring MVC for building reusable web controller modules that encapsulate rich page navigation rules. Along with detailed analysis of the code and functionality, plus the first published coverage of Spring Web Flow 2.x, this book includes numerous tips and tricks to help you get the most out of Spring MVC, Spring Web Flow, and web development in general. Spring MVC and Spring Web Flow have been upgraded in the new Spring Framework 3.1 and are engineered with important considerations for design patterns and expert object-oriented programming techniques. This book explains not only the design decisions of the frameworks, but also how you can apply similar designs and techniques to your own code. This book takes great care in covering every inch of Spring MVC and Spring Web Flow to give you the complete picture. Along with all the best known features of these frameworks, you’ll discover some new hidden treasures. You’ll also learn how to correctly and safely extend the frameworks to create customized solutions. This book is for anyone who wishes to write robust, modern, and useful web applications with the Spring Framework. What you’ll learn: Key Spring Framework fundamentals How to use the Spring MVC architecture How to develop with the DispatcherServlet How to write Controllers How to work with Resolving and Implementing Views What are the supported View Types How to customize your website What is and how to use the Spring Web Flow framework How to test your Spring MVC applications How to implement Spring Security Who this book is for: This book is for Spring or Java EE application developers who want to learn and fully leverage Spring's Web-tier creator and framework, Spring MVC. This book is also for experienced enterprise and Java programmers who are new to the Spring Framework. 内容截图: 目录: Foreword.............................................................................................................. xvi About the Authors .............................................................................................. xviii About the Technical Reviewer .............................................................................. xx Acknowledgments ............................................................................................... xxi Introduction ....................................................................................................... xxiii Chapter 1: Configuring a Spring Development Environment .................................1 Chapter 2: Spring Framework Fundamentals .......................................................25 Chapter 3: Web Application Architecture..............................................................51 Chapter 4: Spring MVC Architecture .....................................................................65 Chapter 5: Implementing Controllers..................................................................107 Chapter 6: Implementing Controllers — Advanced ............................................177 Chapter 7: REST and AJAX ..................................................................................215 Chapter 8: Resolving and Implementing Views ..................................................237 Chapter 9: Testing Spring MVC Applications ......................................................273 Chapter 10: Spring Web Flow .............................................................................321 Chapter 11: Building Applications with Spring Web Flow .................................373 Chapter 12: Advanced Spring Web Flow.............................................................429 Chapter 13: Spring Security................................................................................477 Appendix: Cloud Foundry: Deploying to the Cloud .............................................535 Index ...................................................................................................................555