Getting started with Spring Framework: a hands-on guide to begin developing applications using Spring Framework
暫譯: Spring Framework 入門:實作指南以開始使用 Spring Framework 開發應用程式

J Sharma, Ashish Sarin

商品描述

Getting started with Spring Framework is a hands-on guide to begin developing applications using Spring Framework. The examples (consisting of 74 sample projects) that accompany this book are based on Spring 4.3 and Java 8. You can download the examples described in this book from the following GitHub project:github.com/getting-started-with-spring/3rdEdition

This book is meant for Java developers with little or no knowledge of Spring Framework. Getting started with Spring Framework, Third Edition has been updated to reflect changes in Spring 4.3 and also includes new chapters on Java-based configuration and Spring Data (covers Spring Data JPA and Spring Data MongoDB projects).
The existing chapters have been revised to include information on Java-based configuration. The book also includes some new information on bean definition profiles, importing application context XML files, lazy autowiring, creating custom qualifier annotations, JSR 349 annotations, spring-messaging module, Java 8's Optional type, and so on.

Chapter 1 - Introduction to Spring Framework
Chapter 2 - Spring Framework basics
Chapter 3 - Configuring beans
Chapter 4 - Dependency injection
Chapter 5 - Customizing beans and bean definitions
Chapter 6 - Annotation-driven development with Spring
Chapter 7 - Java-based container configuration (New)
Chapter 8 - Database interaction using Spring
Chapter 9 - Spring Data (New)
Chapter 10 - Messaging, emailing, asynchronous method execution, and caching using Spring
Chapter 11 - Aspect-oriented programming
Chapter 12 - Spring Web MVC basics
Chapter 13 - Validation and data binding in Spring Web MVC
Chapter 14 - Developing RESTful web services using Spring Web MVC
Chapter 15 - More Spring Web MVC - internationalization, file upload and asynchronous request processing
Chapter 16 - Securing applications using Spring Security

This book covers: 
- Specifying configuration metadata using XML and annotations 
- Programmatically configuring Spring container and beans 
- Configuring different types of bean properties 
- Bean lifecycle interfaces 
- Customizing beans using BeanPostProcessors and BeanFactoryPostProcessors 
- Bean definition inheritance 
- Java-based container configuration
- JSR 250's and 330's annotations for dependency injection 
- Validation using JSR 303/349 (Bean Validation API) annotations and Spring's Validator interface 
- SpEL (Spring Expression Language) 
- Caching using Spring's cache abstraction 
- Sending and receiving JMS messages using Spring 
- Aspect-oriented programming support in Spring 
- Sending emails using Spring 
- Asynchronously executing methods using Spring 
- Task scheduling 
- Database interaction using JDBC and Hibernate 
- Programmatic and declarative transaction management 
- Spring Data JPA and Spring Data MongoDB
- Spring Web MVC 
- Developing RESTful Web Services using Spring 
- Spring Security 

The book shows a simple internet banking application that is developed incrementally in each chapter of the book and covers the topics mentioned above. 
You can post your questions and feedback on the following Google group: groups.google.com/forum/#!forum/getting-started-with-spring-framework

商品描述(中文翻譯)

《Spring Framework 入門指南》是一本實作手冊,旨在幫助開發者開始使用 Spring Framework 開發應用程式。本書附帶的範例(包含74 個範例專案)基於Spring 4.3Java 8。您可以從以下 GitHub 專案下載本書中描述的範例:github.com/getting-started-with-spring/3rdEdition

本書適合對 Spring Framework 知之甚少或完全沒有了解的 Java 開發者。《Spring Framework 入門指南》第三版已更新,以反映Spring 4.3的變更,並新增了有關基於 Java 的配置Spring Data(涵蓋Spring Data JPASpring Data MongoDB專案)的章節。

現有章節已修訂,以包含有關基於 Java 的配置的信息。本書還包括有關 bean 定義配置檔、導入應用程式上下文 XML 檔案、延遲自動裝配、創建自定義限定符註解、JSR 349 註解、spring-messaging 模組、Java 8 的 Optional 類型等新信息。

章節內容如下:
第 1 章 - Spring Framework 簡介
第 2 章 - Spring Framework 基礎
第 3 章 - 配置 beans
第 4 章 - 依賴注入
第 5 章 - 自定義 beans 和 bean 定義
第 6 章 - 使用 Spring 的註解驅動開發
第 7 章 - 基於 Java 的容器配置(新)
第 8 章 - 使用 Spring 的資料庫互動
第 9 章 - Spring Data(新)
第 10 章 - 使用 Spring 的消息傳遞、電子郵件、非同步方法執行和快取
第 11 章 - 面向切面編程
第 12 章 - Spring Web MVC 基礎
第 13 章 - Spring Web MVC 中的驗證和資料綁定
第 14 章 - 使用 Spring Web MVC 開發 RESTful 網路服務
第 15 章 - 更多 Spring Web MVC - 國際化、檔案上傳和非同步請求處理
第 16 章 - 使用 Spring Security 保護應用程式

本書涵蓋的內容包括:
- 使用 XML 和註解指定配置元數據
- 程式化配置 Spring 容器和 beans
- 配置不同類型的 bean 屬性
- Bean 生命週期介面
- 使用 BeanPostProcessors 和 BeanFactoryPostProcessors 自定義 beans
- Bean 定義繼承
- 基於 Java 的容器配置
- JSR 250 和 330 的依賴注入註解
- 使用 JSR 303/349(Bean 驗證 API)註解和 Spring 的 Validator 介面進行驗證
- SpEL(Spring 表達式語言)
- 使用 Spring 的快取抽象進行快取
- 使用 Spring 發送和接收 JMS 消息
- Spring 中的面向切面編程支持
- 使用 Spring 發送電子郵件
- 使用 Spring 非同步執行方法
- 任務排程
- 使用 JDBC 和 Hibernate 進行資料庫互動
- 程式化和聲明式交易管理
- Spring Data JPA 和 Spring Data MongoDB
- Spring Web MVC
- 使用 Spring 開發 RESTful 網路服務
- Spring Security

本書展示了一個簡單的網路銀行應用程式,該應用程式在每一章中逐步開發,涵蓋上述主題。

您可以在以下 Google 群組發表您的問題和反饋:groups.google.com/forum/#!forum/getting-started-with-spring-framework