Building RESTful Web Services with Spring 5 - Second Edition: Leverage the power of Spring 5.0, JavaSE 9 and Spring Boot 2.0
暫譯: 使用 Spring 5 建立 RESTful 網路服務(第二版):充分利用 Spring 5.0、JavaSE 9 和 Spring Boot 2.0 的強大功能

Raja CSP Raman, Ludovic Dewailly

  • 出版商: Packt Publishing
  • 出版日期: 2018-01-24
  • 定價: $1,480
  • 售價: 6.0$888
  • 語言: 英文
  • 頁數: 228
  • 裝訂: Paperback
  • ISBN: 1788475895
  • ISBN-13: 9781788475891
  • 相關分類: Java 相關技術
  • 立即出貨 (庫存 < 3)

商品描述

Find out how to implement the REST architecture to build resilient software in Java with the help of the Spring 5.0 framework.

Key Features

  • Follow best practices and explore techniques such as clustering and caching to achieve a reactive, scalable web service,
  • Leverage the Spring Framework to quickly implement RESTful endpoints,
  • Learn to implement a client library for a RESTful web service using the Spring Framework along with the new front end framework.

Book Description

REST is an architectural style that tackles the challenges of building scalable web services. In today's connected world, APIs have taken a central role on the web. APIs provide the fabric through which systems interact, and REST has become synonymous with APIs.The depth, breadth, and ease of use of Spring makes it one of the most attractive frameworks in the Java ecosystem. Marrying the two technologies is therefore a very natural choice.This book takes you through the design of RESTful web services and leverages the Spring Framework to implement these services. Starting from the basics of the philosophy behind REST, you'll go through the steps of designing and implementing an enterprise-grade RESTful web service. Taking a practical approach, each chapter provides code samples that you can apply to your own circumstances.This second edition brings forth the power of the latest Spring 5.0 release, working with MVC built-in as well as the front end framework. It then goes beyond the use of Spring to explores approaches to tackle resilience, security, and scalability concerns. Improve performance of your applications with the new HTTP 2.0 standards. You'll learn techniques to deal with security in Spring and discover how to implement unit and integration test strategies.Finally, the book ends by walking you through building a Java client for your RESTful web service, along with some scaling techniques using the new Spring Reactive libraries.

What you will learn

  • Deep dive into the principles behind REST
  • Expose CRUD operations through RESTful endpoints with the Spring Framework
  • Devise response formats and error handling strategies, offering a consistent and flexible structure to simplify integration for service consumers
  • Follow the best approaches for dealing with a service's evolution while maintaining backward compatibility
  • Understand techniques to secure web services
  • Comply with the best ways to test RESTful web services, including tips for load testing
  • Optimise and scale web services using techniques such as caching and clustering

Who This Book Is For

This book is intended for those who want to learn to build RESTful web services with the latest Spring 5.0 Framework. To make best use of the code samples included in the book, you should have a basic knowledge of the Java language. Previous experience with the Spring Framework would also help you get up and running quickly.

商品描述(中文翻譯)

**了解如何使用 Spring 5.0 框架實現 REST 架構,以構建具有彈性的 Java 軟體。**

#### 主要特點
- 遵循最佳實踐,探索如叢集和快取等技術,以實現反應式、可擴展的網路服務,
- 利用 Spring Framework 快速實現 RESTful 端點,
- 學習如何使用 Spring Framework 和新的前端框架實現 RESTful 網路服務的客戶端庫。

#### 書籍描述
REST 是一種架構風格,旨在解決構建可擴展網路服務的挑戰。在當今互聯的世界中,API 在網路上扮演了核心角色。API 提供了系統互動的基礎,而 REST 已經成為 API 的代名詞。Spring 的深度、廣度和易用性使其成為 Java 生態系統中最具吸引力的框架之一。因此,將這兩種技術結合起來是一個非常自然的選擇。本書將帶您了解 RESTful 網路服務的設計,並利用 Spring Framework 實現這些服務。從 REST 背後的基本理念開始,您將經歷設計和實現企業級 RESTful 網路服務的步驟。採取實用的方法,每一章都提供了您可以應用於自己情況的程式碼範例。本第二版展示了最新的 Spring 5.0 版本的強大功能,並與內建的 MVC 以及前端框架一起工作。然後,它超越了 Spring 的使用,探索解決彈性、安全性和可擴展性問題的方法。通過新的 HTTP 2.0 標準來改善應用程式的性能。您將學習在 Spring 中處理安全性的技術,並發現如何實施單元測試和整合測試策略。最後,本書將引導您構建一個 Java 客戶端,用於您的 RESTful 網路服務,並使用新的 Spring Reactive 庫介紹一些擴展技術。

#### 您將學到的內容
- 深入了解 REST 背後的原則
- 通過 Spring Framework 暴露 CRUD 操作的 RESTful 端點
- 設計回應格式和錯誤處理策略,提供一致且靈活的結構,以簡化服務消費者的整合
- 遵循最佳方法來處理服務的演變,同時保持向後相容性
- 理解保護網路服務的技術
- 遵循測試 RESTful 網路服務的最佳方法,包括負載測試的提示
- 使用快取和叢集等技術優化和擴展網路服務

#### 本書適合誰
本書適合那些希望學習使用最新的 Spring 5.0 框架構建 RESTful 網路服務的人。為了充分利用書中包含的程式碼範例,您應該具備基本的 Java 語言知識。對 Spring Framework 的先前經驗也將幫助您快速上手。

最後瀏覽商品 (20)