| 失效鏈接處理 |
|
基于Kotlin的Spring Boot微服務(wù)實(shí)戰(zhàn) 袁康 PDF 下載
下載地址:
版權(quán)歸出版社和原作者所有,鏈接已刪除,請購買正版
用戶下載說明:
電子版僅供預(yù)覽,下載后24小時內(nèi)務(wù)必刪除,支持正版,喜歡的請購買正版書籍:
http://product.dangdang.com/11187090922.html
相關(guān)截圖: ![]() 資料簡介:
本書介紹了Kotlin在Spring Boot微服務(wù)開發(fā)中的實(shí)踐,并使用Kotlin作為開發(fā)語言,介紹了函數(shù)式編程思想、Kotlin的語法、Kotlin在常用中間件中的應(yīng)用,以及其在微服務(wù)注冊中心、微服務(wù)配置中心、微服務(wù)網(wǎng)關(guān)、Spring Cloud 阿libaba、服務(wù)監(jiān)控和服務(wù)鏈路監(jiān)控方面的應(yīng)用。本書給出了詳細(xì)的實(shí)例代碼和一個完整的博客示例,可以幫助讀者使用Kotlin開發(fā)基于Spring Boot微服務(wù)的程序。
閱讀本書需要具有一定的編程基礎(chǔ),但入門門檻不高。因此,本書適合大學(xué)生、工程師等對使用Kotlin開發(fā)服務(wù)端程序感興趣的讀者閱讀。
資料目錄:
章 搭建Kotlin開發(fā)環(huán)境 1
1.1 Kotlin簡介 1
1.2 在Windows環(huán)境中搭建Kotlin開發(fā)環(huán)境 5
1.3 在Ubuntu環(huán)境中搭建Kotlin開發(fā)環(huán)境 9
1.4 在macOS環(huán)境中搭建Kotlin開發(fā)環(huán)境 12
1.5 第一個Kotlin程序 13
1.6 小結(jié) 14
第2章 函數(shù)式編程介紹 15
2.1 初識函數(shù)式編程 15
2.2 函數(shù)式編程的特點(diǎn) 17
2.3 Scala、Kotlin、Java的對比 20
2.4 小結(jié) 21
第3章 Kotlin的語法 22
3.1 基礎(chǔ)語法 22
3.1.1 基本數(shù)據(jù)類型 22
3.1.2 包名和引用 27
3.1.3 流程控制 28
3.1.4 返回和跳轉(zhuǎn) 29
3.2 類 30
3.2.1 類、屬性、接口 30
3.2.2 特殊類 34
3.2.3 泛型 36
3.2.4 委托 38
3.3 函數(shù)和Lambda表達(dá)式 40
3.3.1 函數(shù) 40
3.3.2 Lambda表達(dá)式 42
3.4 集合 44
3.4.1 集合概述 44
3.4.2 集合操作 51
3.4.3 List、Set、Map相關(guān)操作 58
3.5 協(xié)程 60
3.5.1 協(xié)程基礎(chǔ) 60
3.5.2 協(xié)程進(jìn)階 64
3.6 小結(jié) 67
第4章 Kotlin在常用中間件中的應(yīng)用 68
4.1 Kotlin集成Spring Boot 68
4.1.1 Spring Boot介紹 68
4.1.2 用Kotlin開發(fā)一個Spring Boot項(xiàng)目 69
4.2 Kotlin集成Redis 73
4.2.1 Redis介紹 74
4.2.2 使用Kotlin操作Redis 75
4.3 Kotlin集成JPA、QueryDSL 81
4.3.1 JPA、QueryDSL介紹 82
4.3.2 使用Kotlin操作JPA、QueryDSL 83
4.4 Kotlin集成MongoDB 91
4.4.1 MongoDB介紹 91
4.4.2 使用Kotlin操作MongoDB 92
4.5 Kotlin集成Spring Security 98
4.5.1 Spring Security介紹 98
4.5.2 使用Kotlin操作Spring Security 100
4.6 Kotlin集成RocketMQ 105
4.6.1 RocketMQ介紹 105
4.6.2 使用Kotlin操作RocketMQ 107
4.7 Kotlin集成Elasticsearch 112
4.7.1 Elasticsearch介紹 112
4.7.2 使用Kotlin操作Elasticsearch 113
4.8 Kotlin集成Swagger 119
4.8.1 Swagger介紹 119
4.8.2 使用Kotlin操作Swagger 121
4.9 小結(jié) 126
第5章 Kotlin應(yīng)用于微服務(wù)注冊中心 127
5.1 Eureka 127
5.1.1 Eureka介紹 127
5.1.2 Kotlin集成Eureka服務(wù)注冊 129
5.1.3 一個Eureka服務(wù)提供方 131
5.1.4 Kotlin集成OpenFeign服務(wù)調(diào)用 135
5.1.5 Kotlin集成Ribbon服務(wù)調(diào)用 139
5.2 Consul 143
5.2.1 Consul介紹 144
5.2.2 Kotlin集成Consul服務(wù)注冊 145
5.2.3 Kotlin集成OpenFeign和Ribbon服務(wù)調(diào)用 149
5.3 Zookeeper 153
5.3.1 Zookeeper介紹 153
5.3.2 Kotlin集成Zookeeper服務(wù)注冊 154
5.3.3 Kotlin集成OpenFeign和Ribbon服務(wù)調(diào)用 158
5.4 Nacos 163
5.4.1 Nacos介紹 163
5.4.2 Kotlin集成Nacos服務(wù)注冊 164
5.4.3 Kotlin集成OpenFeign和Ribbon服務(wù)調(diào)用 167
5.5 小結(jié) 171
第6章 Kotlin應(yīng)用于微服務(wù)配置中心 172
6.1 Spring Cloud Config 172
6.1.1 Spring Cloud Config介紹 172
6.1.2 Kotlin集成Spring Cloud Config 173
6.2 Apollo配置中心 181
6.2.1 Apollo介紹 181
6.2.2 Kotlin集成Apollo 182
6.3 Nacos配置中心 186
6.4 Consul配置中心 192
6.5 小結(jié) 197
第7章 Kotlin應(yīng)用于微服務(wù)網(wǎng)關(guān) 198
7.1 Kotlin集成Zuul 198
7.1.1 Zuul介紹 198
7.1.2 Kotlin集成Zuul 200
7.2 Kotlin集成Spring Cloud Gateway 211
7.2.1 Spring Cloud Gateway介紹 211
7.2.2 Kotlin集成Spring Cloud Gateway 212
7.3 小結(jié) 222
第8章 Kotlin應(yīng)用于Spring Cloud Alibaba 223
8.1 服務(wù)限流降級 224
8.1.1 Sentinel介紹 225
8.1.2 Kotlin集成Sentinel 226
8.2 消息驅(qū)動 232
8.2.1 消息驅(qū)動介紹 233
8.2.2 Kotlin集成RocketMQ實(shí)現(xiàn)消息驅(qū)動 234
8.3 阿里對象云存儲 241
8.3.1 阿里對象云存儲介紹 241
8.3.2 Kotlin集成阿里對象云存儲 242
8.4 分布式任務(wù)調(diào)度 248
8.4.1 SchedulerX介紹 248
8.4.2 Kotlin集成SchedulerX 249
8.5 分布式事務(wù) 253
8.5.1 分布式事務(wù)介紹 253
8.5.2 Kotlin集成Seata 255
8.6 Spring Cloud Dubbo 270
8.6.1 Dubbo介紹 270
8.6.2 Kotlin集成Spring Cloud Dubbo 271
8.7 小結(jié) 279
第9章 Kotlin集成服務(wù)監(jiān)控和服務(wù)鏈路監(jiān)控 280
9.1 Prometheus、Grafana介紹 280
9.2 Kotlin集成Prometheus、Grafana 282
9.3 Kotlin集成Zipkin 288
9.4 Kotlin集成SkyWalking 298
9.5 小結(jié) 308
0章 基于Kotlin和Spring Boot搭建博客 309
10.1 初始化Maven工程 309
10.2 系統(tǒng)架構(gòu) 314
10.3 定義實(shí)體 316
10.4 數(shù)據(jù)庫設(shè)計(jì) 324
10.5 Repository層的設(shè)計(jì) 325
10.6 Service層的設(shè)計(jì) 346
10.7 Controller層的設(shè)計(jì) 353
10.8 部署到騰訊云 370
10.9 小結(jié) 373
|




蘇公網(wǎng)安備 32061202001004號


