Learning Spring 5.0
暫譯: 學習 Spring 5.0

Tejaswini Mandar Jog

  • 出版商: Packt Publishing
  • 出版日期: 2017-06-30
  • 售價: $2,050
  • 貴賓價: 9.5$1,948
  • 語言: 英文
  • 頁數: 422
  • 裝訂: Paperback
  • ISBN: 1787120341
  • ISBN-13: 9781787120341
  • 相關分類: Java 相關技術
  • 海外代購書籍(需單獨結帳)

商品描述

Key Features

  • Build an enterprise application throughout the book that communicates with a microservice
  • Define and inject dependencies into your objects using the IoC container
  • Make use of Spring's reactive features including tools and implement a reactive Spring MVC application

Book Description

Spring is the most widely used framework for Java programming and with its latest update to 5.0, the framework is undergoing massive changes. Built to work with both Java 8 and Java 9, Spring 5.0 promises to simplify the way developers write code, while still being able to create robust, enterprise applications.

If you want to learn how to get around the Spring framework and use it to build your own amazing applications, then this book is for you.

Beginning with an introduction to Spring and setting up the environment, the book will teach you in detail about the Bean life cycle and help you discover the power of wiring for dependency injection. Gradually, you will learn the core elements of Aspect-Oriented Programming and how to work with Spring MVC and then understand how to link to the database and persist data configuring ORM, using Hibernate.

You will then learn how to secure and test your applications using the Spring-test and Spring-Security modules. At the end, you will enhance your development skills by getting to grips with the integration of RESTful APIs, building microservices, and doing reactive programming using Spring, as well as messaging with WebSocket and STOMP.

What you will learn

  • Get to know the basics of Spring development and gain fundamental knowledge about why and where to use Spring Framework
  • Explore the power of Beans using Dependency Injection, wiring, and Spring Expression Language
  • Implement and integrate a persistent layer in your application and also integrate an ORM such as Hibernate
  • Understand how to manage cross-cutting with logging mechanism, transaction management, and more using Aspect-oriented programming
  • Explore Spring MVC and know how to handle requesting data and presenting the response back to the user
  • Get to grips with the integration of RESTful APIs and Messaging with WebSocket and STOMP
  • Master Reactive Programming using Spring MVC to handle non-blocking streams

About the Author

Tejaswini Mandar Jog is a passionate and enthusiastic Java trainer. She has more than nine years of experience in the IT training field, specializing in Java, J2EE, Spring, and relevant technologies. She has worked with many renowned corporate companies on training and skill enhancement programs. She is also involved in the development of projects using Java, Spring, and Hibernate. She wrote a book, Learning Modular Java Programming, which explores the power of modular programming for building applications with Java and Spring.

She was reading about Spring 5 on the internet when she got an email asking whether she would be interested in writing a book on Spring 5.0. It was a really big responsibility for her to work on this project. She had worked with Spring before, but this was altogether an exciting new experience. They decided to take up the challenge, she and Mandar (her better half).

Table of Contents

  1. Introduction to Spring
  2. Dependency Injection
  3. Accelerate with Spring DAO
  4. Aspect Oriented Programming
  5. Be Consistent : Manage Transaction
  6. Explore Spring MVC
  7. Be Assured: Take a Test Drive
  8. Make it Safe : Security Management
  9. Explore the Power of RESTFul Webservices
  10. Exchange Information: Use Messaging
  11. Be Active : Reactive Programming using Spring

商品描述(中文翻譯)

關鍵特性
- 在整本書中構建一個與微服務通信的企業應用程式
- 使用 IoC 容器定義並注入依賴到您的物件中
- 利用 Spring 的反應式特性,包括工具,並實現一個反應式的 Spring MVC 應用程式

書籍描述
Spring 是最廣泛使用的 Java 程式設計框架,隨著其最新更新至 5.0,該框架正在經歷重大變化。Spring 5.0 專為 Java 8 和 Java 9 而設計,承諾簡化開發人員編寫程式碼的方式,同時仍能創建穩健的企業應用程式。

如果您想學習如何使用 Spring 框架並利用它來構建自己的驚人應用程式,那麼這本書就是為您而寫的。

本書從介紹 Spring 和設置環境開始,將詳細教您有關 Bean 生命週期的知識,並幫助您發現依賴注入的連接力量。逐步地,您將學習面向方面編程的核心元素,以及如何使用 Spring MVC,然後了解如何連接到資料庫並配置 ORM 以持久化數據,使用 Hibernate。

接下來,您將學習如何使用 Spring-test 和 Spring-Security 模組來保護和測試您的應用程式。最後,您將通過掌握 RESTful API 的整合、構建微服務以及使用 Spring 進行反應式編程,還有使用 WebSocket 和 STOMP 進行消息傳遞來提升您的開發技能。

您將學到的內容
- 了解 Spring 開發的基本知識,並獲得有關為何及何時使用 Spring 框架的基本知識
- 探索使用依賴注入、連接和 Spring 表達式語言的 Beans 的力量
- 在您的應用程式中實現並整合持久層,並整合如 Hibernate 的 ORM
- 理解如何使用面向方面編程管理橫切關注點,包括日誌機制、事務管理等
- 探索 Spring MVC,了解如何處理請求數據並將響應呈現給用戶
- 掌握 RESTful API 的整合以及使用 WebSocket 和 STOMP 進行消息傳遞
- 精通使用 Spring MVC 進行反應式編程以處理非阻塞流

關於作者
**Tejaswini Mandar Jog** 是一位充滿熱情和熱忱的 Java 培訓師。她在 IT 培訓領域擁有超過九年的經驗,專注於 Java、J2EE、Spring 及相關技術。她曾與許多知名企業合作進行培訓和技能提升計劃。她還參與使用 Java、Spring 和 Hibernate 開發項目。她撰寫了一本書《Learning Modular Java Programming》,探討了使用 Java 和 Spring 構建應用程式的模組化編程的力量。

當她在網上閱讀有關 Spring 5 的資訊時,收到了詢問她是否有興趣撰寫一本關於 Spring 5.0 的書的電子郵件。對她來說,這是一個非常大的責任來參與這個項目。她之前曾使用過 Spring,但這完全是一個令人興奮的新體驗。她和 Mandar(她的另一半)決定接受這個挑戰。

目錄
1. Spring 介紹
2. 依賴注入
3. 使用 Spring DAO 加速
4. 面向方面編程
5. 保持一致:管理事務
6. 探索 Spring MVC
7. 確保:進行測試
8. 使其安全:安全管理
9. 探索 RESTFul 網路服務的力量
10. 交換資訊:使用消息傳遞
11. 活躍:使用 Spring 進行反應式編程

最後瀏覽商品 (20)