Building Restful Web Services with Java Ee 8
暫譯: 使用 Java EE 8 建立 RESTful 網路服務

Mario-Leander Reimer

  • 出版商: Packt Publishing
  • 出版日期: 2018-07-31
  • 售價: $1,400
  • 貴賓價: 9.5$1,330
  • 語言: 英文
  • 頁數: 116
  • 裝訂: Paperback
  • ISBN: 1789532884
  • ISBN-13: 9781789532883
  • 相關分類: Java 程式語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn the fundamentals of Java EE 8 APIs to build effective web services

Key Features

  • Design modern and stylish web services with Java EE APIs
  • Secure your web services with JSON Web Tokens
  • Explore the advanced concepts of RESTful web services and the JAX-RS API

Book Description

Java Enterprise Edition is one of the leading application programming platforms for enterprise Java development. With Java EE 8 finally released and the first application servers now available, it is time to take a closer look at how to develop modern and lightweight web services with the latest API additions and improvements.

Building RESTful Web Services with Java EE 8 is a comprehensive guide that will show you how to develop state-of-the-art RESTful web services with the latest Java EE 8 APIs. You will begin with an overview of Java EE 8 and the latest API additions and improvements. You will then delve into the details of implementing synchronous RESTful web services and clients with JAX-RS. Next up, you will learn about the specifics of data binding and content marshalling using the JSON-B 1.0 and JSON-P 1.1 APIs.

This book also guides you in leveraging the power of asynchronous APIs on the server and client side, and you will learn to use server-sent events (SSEs) for push communication. The final section covers advanced web service topics such as validation, JWT security, and diagnosability.

By the end of this book, you will have implemented several working web services and have a thorough understanding of the Java EE 8 APIs required for lightweight web service development.

What you will learn

  • Dive into the latest Java EE 8 APIs relevant for developing web services
  • Use the new JSON-B APIs for easy data binding
  • Understand how JSON-P API can be used for flexible processing
  • Implement synchronous and asynchronous JAX-RS clients
  • Use server-sent events to implement server-side code
  • Secure Java EE 8 web services with JSON Web Tokens

Who this book is for

If you're a Java developer who wants to learn how to implement web services using the latest Java EE 8 APIs, this book is for you. Though no prior knowledge of Java EE 8 is required, experience with a previous Java EE version will be beneficial.

Table of Contents

  1. Getting started with java ee 8
  2. Building synchronous web services and clients
  3. Content marshalling with json-b and json-p
  4. Building asynchronous web services
  5. Using server-sent events (sse)
  6. Advanced rest apis

商品描述(中文翻譯)

**學習 Java EE 8 API 的基本原理以建立有效的網路服務**

#### 主要特點
- 使用 Java EE API 設計現代且時尚的網路服務
- 使用 JSON Web Tokens 來保護您的網路服務
- 探索 RESTful 網路服務和 JAX-RS API 的進階概念

#### 書籍描述
Java Enterprise Edition 是企業 Java 開發的主要應用程式編程平台之一。隨著 Java EE 8 的正式發布以及首批應用伺服器的可用,現在是時候仔細了解如何使用最新的 API 新增和改進來開發現代且輕量的網路服務。

《使用 Java EE 8 建立 RESTful 網路服務》是一本全面的指南,將向您展示如何使用最新的 Java EE 8 API 開發最先進的 RESTful 網路服務。您將首先了解 Java EE 8 及其最新的 API 新增和改進。接著,您將深入了解如何使用 JAX-RS 實現同步的 RESTful 網路服務和客戶端。然後,您將學習使用 JSON-B 1.0 和 JSON-P 1.1 API 進行資料綁定和內容序列化的具體細節。

本書還指導您如何在伺服器和客戶端利用非同步 API 的強大功能,並學習使用伺服器發送事件(SSE)進行推送通信。最後一部分涵蓋了進階的網路服務主題,如驗證、JWT 安全性和可診斷性。

在本書結束時,您將實現幾個可運行的網路服務,並對輕量網路服務開發所需的 Java EE 8 API 有透徹的理解。

#### 您將學到什麼
- 深入了解最新的 Java EE 8 API,這些 API 與開發網路服務相關
- 使用新的 JSON-B API 進行簡易的資料綁定
- 理解 JSON-P API 如何用於靈活的處理
- 實現同步和非同步的 JAX-RS 客戶端
- 使用伺服器發送事件來實現伺服器端代碼
- 使用 JSON Web Tokens 來保護 Java EE 8 網路服務

#### 本書適合誰
如果您是希望學習如何使用最新的 Java EE 8 API 實現網路服務的 Java 開發人員,那麼這本書適合您。雖然不需要先前的 Java EE 8 知識,但有之前 Java EE 版本的經驗將會有幫助。

#### 目錄
1. 開始使用 Java EE 8
2. 建立同步的網路服務和客戶端
3. 使用 JSON-B 和 JSON-P 進行內容序列化
4. 建立非同步的網路服務
5. 使用伺服器發送事件(SSE)
6. 進階的 REST API

最後瀏覽商品 (19)