没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Deinum
Rubio
Long
Mak
US $49.99
Shelve in
Programming Languages/Java
User level:
Intermediate
www.apress.com
SOURCE CODE ONLINE
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
Spring Recipes
Spring Recipes: A Problem-Solution Approach, Third Edition builds upon the best-selling
success of the previous editions and focuses on the latest Spring Framework features for
building enterprise Java applications. This book provides code recipes for the following, found
in the latest Spring:
• Spring fundamentals: Spring IoC container, Spring AOP/ AspectJ, and more
• Spring enterprise: Spring Java EE integration, Spring Integration, Spring Batch,
Spring Remoting, messaging, transactions, and working with big data and the cloud using
Hadoop and MongoDB
• Spring web: Spring MVC, other dynamic scripting, integration with the popular Grails
Framework (and Groovy), REST/web services, and more
This book guides you step-by-step through topics using complete and real-world code examples.
When you start a new project, you can consider copying the code and configuration files from
this book, and then modifying them for your needs. This can save you a great deal of work over
creating a project from scratch!
You’ll learn:
• How to develop with the core Spring Framework, aspect oriented programming,
dependency injection, and inversion of control
• How to create Spring web services using Spring REST, SOAP and remoting
• How to build a web client using Spring MVC and how to work with other web frameworks
• How to use Grails and Groovy
• How to integrate Spring with social media and mobile apps
• How to work with Spring Data, Batch, NoSQL and big data; then integrating with
Hadoop, MongoDB, Redis and more
• How to create and manage Spring transactions
• How to handle Spring messaging, integration, testing, and caching
• How to secure your Spring applications
THIRD
EDITION
RELATED
9781430 259084
54999
ISBN 978-1-4302-5908-4
Covers
Spring
Framework 4.0
www.it-ebooks.info
v
Contents at a Glance
About the Authors ���������������������������������������������������������������������������������������������������������� xxxiii
About the Technical Reviewer ���������������������������������������������������������������������������������������� xxxv
Acknowledgments �������������������������������������������������������������������������������������������������������� xxxvii
Introduction ������������������������������������������������������������������������������������������������������������������� xxxix
Chapter 1: Spring Development Tools ■ ��������������������������������������������������������������������������������1
Chapter 2: Spring Core Tasks ■ ������������������������������������������������������������������������������������������47
Chapter 3: Spring Annotation Driven Core Tasks ■ �����������������������������������������������������������135
Chapter 4: Spring @MVC ■ �����������������������������������������������������������������������������������������������217
Chapter 5: Spring REST ■ �������������������������������������������������������������������������������������������������275
Chapter 6: Spring Social ■ ������������������������������������������������������������������������������������������������303
Chapter 7: Spring Security ■ ��������������������������������������������������������������������������������������������331
Chapter 8: Spring Mobile ■ �����������������������������������������������������������������������������������������������385
Chapter 9: Spring with Other Web Frameworks ■ ������������������������������������������������������������401
Chapter 10: Data Access ■ �����������������������������������������������������������������������������������������������419
Chapter 11: Spring Transaction Management ■ ���������������������������������������������������������������475
Chapter 12: Spring Batch ■ ����������������������������������������������������������������������������������������������511
Chapter 13: NoSQL and BigData ■ ������������������������������������������������������������������������������������549
Chapter 14: Spring Java Enterprise Services and Remoting Technologies ■ �������������������591
Chapter 15: Spring Messaging ■ ��������������������������������������������������������������������������������������659
www.it-ebooks.info
■ Contents at a GlanCe
vi
Chapter 16: Spring Integration ■ ��������������������������������������������������������������������������������������691
Chapter 17: Spring Testing ■ ��������������������������������������������������������������������������������������������723
Chapter 18: Grails ■ ����������������������������������������������������������������������������������������������������������757
Index ���������������������������������������������������������������������������������������������������������������������������������799
www.it-ebooks.info
xxxix
Introduction
e Spring framework is growing. It has always been about choice. Java EE focused on a few technologies, largely to the
detriment of alternative, better solutions. When the Spring framework debuted, few would have agreed that Java EE
represented the best-in-breed architectures of the day. Spring debuted to great fanfare, because it sought to simplify Java
EE. Each release since marks the introduction of new features designed to both simplify and enable solutions.
With version 2.0 and later, the Spring framework started targeting multiple platforms. e framework provided
services on top of existing platforms, as always, but was decoupled from the underlying platform wherever possible.
Java EE is a still a major reference point, but it’s not the only target. Additionally, the Spring framework runs on
dierent Cloud environments. With the introduction of Java based conguration and more XML schemas, the Spring
framework created powerful conguration options. Frameworks built on top of the Spring framework have emerged
supporting application integration, batch processing, messaging, and much more.
is is the 3
rd
edition of the superb Spring Recipes and it contains mostly updated frameworks, describing the
new features and explaining the dierent conguration (Java and/or XML) options. Additionally, new projects have
been added to the Spring ecosystem like the Spring Data family of products.
It was impossible to describe each and every project in the Spring ecosystem, so we had to decide what to keep, what to
add, and what to update. is was a hard decision but we think we have included the most important and used content.
Who This Book Is For
is book is for Java developers who want to simplify their architecture and solve problems outside the scope of the Java
EE platform. If you are already using Spring in your projects, the more advanced chapters present discussions of newer
technologies that you might not know about already. If you are new to the framework, this book will get you started in no time.
is book assumes that you have some familiarity with Java and an IDE of some sort. While it is possible, and
indeed useful, to use Java exclusively with client applications, Java’s largest community lives in the enterprise space
and that, too, is where you’ll see most of these technologies deliver the most benet. us, some familiarity with basic
enterprise programming concepts like the Servlet API is assumed.
How This Book Is Structured
Chapter 1, “Spring Development Tools”, gives an overview of tools supporting the Spring framework and how to use them.
Chapter 2, “Spring core tasks,” gives a general overview of the Spring framework: how to set it up, what it is, and
how it’s used.
Chapter 3, “Spring Annotation Driven Core Task,” reviews, in addition to Chapter 2 more annotation driven
concepts that are still key to fully exploiting the container.
Chapter 4, “Spring @MVC,” covers web-based application development using the Spring Web MVC framework.
Chapter 5, “Spring REST,” provides an introduction to Spring’s support for RESTful web services.
Chapter 6, “Spring Social,” provides an introduction of Spring Social, which lets you integrate easily with social networks.
Chapter 7, “Spring Security,” provides an overview of the Spring Security project, to help you better secure your
application.
Chapter 8, “Spring Mobile,” provides an introduction of Spring Mobile, which lets you integrate Mobile device
detection and usage in your application.
www.it-ebooks.info
剩余847页未读,继续阅读
iwaterman
- 粉丝: 13
- 资源: 95
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页