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模式以構建反應式Web應用程式。最後,您將進一步探討諸如反應式流和並發性等高級主題。


通過閱讀本書,您將能夠使用Spring 5和常見的設計模式開發高效的企業應用程式。

您將學到什麼



  • 使用依賴注入模式開發應用程式

  • 學習設計企業應用程式的最佳實踐

  • 探索與事務、安全性和緩存相關的面向方面的編程

  • 使用傳統的Spring MVC模式構建Web應用程式

  • 學習使用XML、註解和Java配置Spring

  • 實施緩存以提高應用程式性能

  • 了解並發性並處理Web服務器中的多個連接

  • 使用反應式編程模式構建反應式Web應用程式

關於作者


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

目錄



  1. Spring Framework 5.0和使用的設計模式概述

  2. 考慮Spring應用程式的模式的最佳實踐

  3. 將結構和行為模式納入Spring

  4. 使用依賴注入模式連接bean

  5. 了解bean的生命週期和使用的模式

  6. 使用代理模式進行Spring面向方面的編程

  7. 使用Spring和JDBC模板模式訪問數據庫

  8. 使用Spring和ORM模板模式訪問數據庫

  9. 使用緩存模式提高應用程式性能

  10. 在Spring中實施MVC模式的Web應用程式

  11. 使用反應式模式進行編程

  12. 實施並發模式