Spring 5 Design Patterns
暫譯: Spring 5 設計模式

Dinesh Rajput

買這商品的人也買了...

相關主題

商品描述

Key Features

  • Explore best practices for designing an application
  • Manage your code easily with Spring's Dependency Injection pattern
  • Understand the benefits that the right design patterns can offer your toolkit

Book Description

Design patterns help speed up the development process by offering well tested and proven solutions to common problems. These patterns coupled with the Spring framework offer tremendous improvements in the development process.

The book begins with an overview of Spring Framework 5.0 and design patterns. You will understand the Dependency Injection pattern, which is the main principle behind the decoupling process that Spring performs, thus making it easier to manage your code. You will learn how GoF patterns can be used in Application Design. You will then learn to use Proxy patterns in Aspect Oriented Programming and remoting. Moving on, you will understand the JDBC template patterns and their use in abstracting database access. Then, you will be introduced to MVC patterns to build Reactive web applications. Finally, you will move on to more advanced topics such as Reactive streams and Concurrency.

At the end of this book, you will be well equipped to develop efficient enterprise applications using Spring 5 with common design patterns

What you will learn

  • Develop applications using dependency injection patterns
  • Learn best practices to design enterprise applications
  • Explore Aspect-Oriented Programming relating to transactions, security, and caching.
  • Build web applications using traditional Spring MVC patterns
  • Learn to configure Spring using XML, annotations, and Java.
  • Implement caching to improve application performance.
  • Understand concurrency and handle multiple connections inside a web server.
  • Utilizing Reactive Programming Pattern to build Reactive web applications.

About the Author

Dinesh Rajput is the chief editor of a website Dineshonjava, a technical blog dedicated to the Spring and Java technologies. It has a series of articles related to Java technologies. Dinesh has been a Spring enthusiast since 2008 and is a Pivotal Certified Spring Professional, an author, and a blogger. He has more than 10 years of experience with different aspects of Spring and Java design and development. His core expertise lies in the latest version of Spring Framework, Spring Boot, Spring Security, creating REST APIs, Microservice Architecture, Reactive Pattern, Spring AOP, Design Patterns, Struts, Hibernate, Web Services, Spring Batch, Cassandra, MongoDB, and Web Application Design and Architecture.

Table of Contents

  1. Overview of Spring Framework 5.0 and Used Design Patterns
  2. Best Practices with Consideration of Patterns for Spring Application
  3. Consideration of Structural and Behavioural Patterns into Spring
  4. Wiring beans using Dependency Injection Pattern
  5. Understanding Bean Life cycle and Used Patterns
  6. Spring Aspect Oriented Programming with Proxy Pattern
  7. Accessing Database with spring and JDBC template patterns
  8. Accessing Database with spring and ORM template patterns
  9. Improving performance of Application using Caching patterns
  10. Implementing MVC pattern in a Web Application with Spring
  11. Using Reactive Pattern in Programming
  12. Implementing Concurrency Patterns

商品描述(中文翻譯)

**主要特點**

- 探索設計應用程式的最佳實踐
- 使用 Spring 的依賴注入模式輕鬆管理您的程式碼
- 理解正確的設計模式能為您的工具包帶來的好處

**書籍描述**

設計模式透過提供經過充分測試和驗證的解決方案來加速開發過程,解決常見問題。這些模式與 Spring 框架結合,能顯著改善開發過程。

本書首先概述了 Spring Framework 5.0 和設計模式。您將理解依賴注入模式,這是 Spring 執行解耦過程的主要原則,從而使管理程式碼變得更容易。您將學習如何在應用程式設計中使用 GoF 模式。接著,您將學習在面向方面的程式設計和遠端調用中使用代理模式。然後,您將理解 JDBC 模板模式及其在抽象資料庫訪問中的應用。接下來,您將接觸到 MVC 模式,以構建反應式網頁應用程式。最後,您將進入更高級的主題,如反應式流和併發。

在本書結束時,您將能夠使用 Spring 5 和常見設計模式開發高效的企業應用程式。

**您將學到的內容**

- 使用依賴注入模式開發應用程式
- 學習設計企業應用程式的最佳實踐
- 探索與交易、安全性和快取相關的面向方面程式設計
- 使用傳統的 Spring MVC 模式構建網頁應用程式
- 學習使用 XML、註解和 Java 配置 Spring
- 實施快取以改善應用程式性能
- 理解併發並處理網頁伺服器內的多個連接
- 利用反應式程式設計模式構建反應式網頁應用程式

**關於作者**

**Dinesh Rajput** 是網站 Dineshonjava 的主編,這是一個專注於 Spring 和 Java 技術的技術部落格,擁有一系列與 Java 技術相關的文章。自 2008 年以來,Dinesh 一直是 Spring 的愛好者,並且是 Pivotal 認證的 Spring 專業人士、作者和部落客。他在 Spring 和 Java 設計及開發的不同方面擁有超過 10 年的經驗。他的核心專業知識在於最新版本的 Spring Framework、Spring Boot、Spring Security、創建 REST API、微服務架構、反應式模式、Spring AOP、設計模式、Struts、Hibernate、網路服務、Spring Batch、Cassandra、MongoDB 以及網頁應用程式設計和架構。

**目錄**

1. Spring Framework 5.0 概述及使用的設計模式
2. 考慮模式的 Spring 應用程式最佳實踐
3. 將結構模式和行為模式納入 Spring 的考量
4. 使用依賴注入模式連接 beans
5. 理解 bean 生命週期及使用的模式
6. 使用代理模式的 Spring 面向方面程式設計
7. 使用 Spring 和 JDBC 模板模式訪問資料庫
8. 使用 Spring 和 ORM 模板模式訪問資料庫
9. 使用快取模式改善應用程式性能
10. 在 Spring 中實施 MVC 模式的網頁應用程式
11. 在程式設計中使用反應式模式
12. 實施併發模式