Introducing Spring Framework: A Primer (Paperback)

Felipe Gutierrez

  • 出版商: Apress
  • 出版日期: 2014-06-26
  • 售價: $1,990
  • 貴賓價: 9.5$1,891
  • 語言: 英文
  • 頁數: 352
  • 裝訂: Paperback
  • ISBN: 1430265329
  • ISBN-13: 9781430265320
  • 相關分類: Java 相關技術
  • 無法訂購

商品描述

Introducing Spring Framework is your hands-on guide to learning to build applications using the Spring Framework. The book uses a simple My Documents application that you will develop incrementally over the course of the book and covers:

• How to programmatically configure the Spring container and beans
• How to use annotations for dependency injection
• How to use collections and custom types
• How to customize and configure bean properties and bean lifecycle interfaces
• How to handle metadata using XML, annotations, and the Groovy bean reader
• How to use the new Spring Boot and Spring XD

After reading this book, you will have all you need to start using the Spring Framework effectively. 

What you’ll learn

• Send and receive JMS messages using Spring
• Use the Spring unit testing features
• Send and receive AMQP messages using Spring with RabbitMQ
• Utilize aspect-oriented programming in Spring
• Integrate the Spring Framework using JDBC and NoSQL databases like MongoDB
• Create web applications and expose REST APIs
• Use email and schedule tasks with Spring
• Use Spring and Groovy together

Who this book is for

This book is meant for developers with little or no knowledge of the Spring Framework.  At least some experience with Java programming is required. 

Table of Contents

Part I - Spring Framework Basics
1. Your First Spring Application
2. Working with Classes and Dependencies
3. Applying Different Configurations
4. Using Bean Scopes
5. Working with Collections and Custom Types
6. Using Resource Files
7. Testing Your Spring Application

Part II - Spring Framework
8. Give Advice to Your Spring Application
9. Adding Persistence to Your Spring Application
10. Showing Your Spring Application on the Web
11. Integrating Your Spring Application with External Systems
12. Exposing a REST API
13. Adding E-mail and Scheduling Tasks

Part III - Spring Framework Advanced
14. Using Dynamic Languages
15. Spring Data Within Your Spring Application
16. Messaging with Your Spring Application
17. Be Social and Go Mobile

Part IV - Spring I/O
18. Spring and Groovy
19. Spring Boot, Simplifying Everything
20. Your First Spring XD Application

Appendix A: Tools


商品描述(中文翻譯)

《介紹 Spring Framework》是一本實踐指南,教你如何使用 Spring Framework 建立應用程式。本書以一個簡單的「我的文件」應用程式為例,逐步引導你開發,內容包括:

• 如何以程式碼配置 Spring 容器和 Bean
• 如何使用註解進行依賴注入
• 如何使用集合和自訂類型
• 如何自訂和配置 Bean 屬性和 Bean 生命週期介面
• 如何使用 XML、註解和 Groovy Bean Reader 處理元數據
• 如何使用新的 Spring Boot 和 Spring XD

閱讀完本書後,你將具備使用 Spring Framework 的能力。

你將學到:

• 使用 Spring 進行 JMS 訊息的發送和接收
• 使用 Spring 的單元測試功能
• 使用 Spring 和 RabbitMQ 進行 AMQP 訊息的發送和接收
• 在 Spring 中運用面向切面的編程
• 整合 JDBC 和 NoSQL 資料庫(如 MongoDB)使用 Spring Framework
• 建立網頁應用程式並公開 REST API
• 使用 Spring 進行電子郵件和排程任務
• 將 Spring 和 Groovy 一起使用

本書適合對 Spring Framework 沒有或只有少量了解的開發人員閱讀,需要具備一定的 Java 編程經驗。

目錄:

第一部分 - Spring Framework 基礎
1. 第一個 Spring 應用程式
2. 處理類別和依賴關係
3. 應用不同的配置
4. 使用 Bean 作用域
5. 處理集合和自訂類型
6. 使用資源檔
7. 測試 Spring 應用程式

第二部分 - Spring Framework
8. 為 Spring 應用程式提供建議
9. 將持久化功能加入 Spring 應用程式
10. 在網頁上展示 Spring 應用程式
11. 將 Spring 應用程式與外部系統整合
12. 公開 REST API
13. 添加電子郵件和排程任務

第三部分 - Spring Framework 進階
14. 使用動態語言
15. 在 Spring 應用程式中使用 Spring Data
16. 在 Spring 應用程式中進行訊息傳遞
17. 社交和行動化

第四部分 - Spring I/O
18. Spring 和 Groovy
19. Spring Boot,一切變得簡單
20. 第一個 Spring XD 應用程式

附錄 A:工具