Spring Boot Cookbook
Alex Antonov
- 出版商: Packt Publishing
- 出版日期: 2015-09-28
- 售價: $1,500
- 貴賓價: 9.5 折 $1,425
- 語言: 英文
- 頁數: 189
- 裝訂: Paperback
- ISBN: 1785284150
- ISBN-13: 9781785284151
-
相關分類:
Java 相關技術
已過版
相關主題
商品描述
Over 35 recipes to help you build, test, and run Spring applications using Spring Boot
About This Book
- Learn to create different types of Spring Boot applications, configure behavior, and add custom components
- Become more efficient in testing, deploying, and monitoring Spring Boot based applications
- This is a practical guide that will help Spring developers to develop and deploy applications using Spring Boot
Who This Book Is For
If you are a Spring Developer who has good knowledge level and understanding of Spring Boot and application development and now want to learn efficient Spring Boot development techniques in order to make the existing development process more efficient, then this book is for you.
What You Will Learn
- Create Spring Boot applications from scratch
- Configure and tune web applications and containers
- Create custom Spring Boot auto-configurations and starters
- Use Spring Boot Test framework with JUnit, Cucumber, and Spock
- Configure and tune web applications and containers
- Deploy Spring Boot as self-starting executables and Docker containers
- Monitor data using DropWizard, Graphite, and Dashing
In Detail
Spring Boot is Spring's convention-over-configuration solution. This feature makes it easy to create Spring applications and services with absolute minimum fuss. Spring Boot has the great ability to be customized and enhanced, and is specifically designed to simplify development of a new Spring application.
This book will provide many detailed insights about the inner workings of Spring Boot, as well as tips and recipes to integrate the third-party frameworks and components needed to build complex enterprise-scale applications.
The book starts with an overview of the important and useful Spring Boot starters that are included in the framework, and teaches you to create and add custom Servlet Filters, Interceptors, Converters, Formatters, and PropertyEditors to a Spring Boot web application. Next it will cover configuring custom routing rules and patterns, adding additional static asset paths, and adding and modifying servlet container connectors and other properties such as enabling SSL.
Moving on, the book will teach you how to create custom Spring Boot Starters, and explore different techniques to test Spring Boot applications. Next, the book will show you examples of configuring your build to produce Docker images and self-executing binary files for Linux/OSX environments.
Finally, the book will teach you how to create custom health indicators, and access monitoring data via HTTP and JMX.
Style and approach
This book is a cohesive collection of recipes that provide developers with a set of connected guidelines on how to build, configure, and customize their application, starting from the design and development stages, all the way through testing, deployment, and production monitoring.
商品描述(中文翻譯)
超過35個食譜,幫助您使用Spring Boot建立、測試和運行Spring應用程序
關於本書
- 學習創建不同類型的Spring Boot應用程序,配置行為並添加自定義組件
- 在測試、部署和監控基於Spring Boot的應用程序方面更加高效
- 這是一本實用指南,將幫助Spring開發人員使用Spring Boot開發和部署應用程序
本書適合對Spring Boot和應用程序開發有良好知識水平和理解的Spring開發人員,現在想要學習高效的Spring Boot開發技巧,以使現有的開發流程更加高效。
您將學到什麼
- 從頭開始創建Spring Boot應用程序
- 配置和調整Web應用程序和容器
- 創建自定義的Spring Boot自動配置和啟動器
- 使用Spring Boot測試框架與JUnit、Cucumber和Spock
- 配置和調整Web應用程序和容器
- 將Spring Boot部署為自啟動可執行文件和Docker容器
- 使用DropWizard、Graphite和Dashing監控數據
詳細內容
Spring Boot是Spring的慣例配置解決方案。這個特性使得使用最少的麻煩創建Spring應用程序和服務變得容易。Spring Boot具有很強的可定制性和擴展性,專為簡化新Spring應用程序的開發而設計。
本書將提供有關Spring Boot內部運作的許多詳細見解,以及整合第三方框架和組件所需的技巧和食譜,以構建複雜的企業級應用程序。
本書首先概述了框架中包含的重要且有用的Spring Boot啟動器,並教您如何創建並添加自定義的Servlet過濾器、攔截器、轉換器、格式化程序和PropertyEditor到Spring Boot Web應用程序中。接下來,它將涵蓋配置自定義路由規則和模式,添加其他靜態資源路徑,以及添加和修改Servlet容器連接器和其他屬性,如啟用SSL。
接著,本書將教您如何創建自定義的Spring Boot啟動器,並探索不同的測試Spring Boot應用程序的技術。然後,本書將展示如何配置構建以生成Docker映像和Linux/OSX環境的自執行二進制文件的示例。
最後,本書將教您如何創建自定義的健康指標,並通過HTTP和JMX訪問監控數據。
風格和方法
本書是一本有機結合的食譜集,為開發人員提供了一套連接指南,從設計和開發階段開始,一直到測試、部署和生產監控,以構建、配置和自定義他們的應用程序。