RESTful Java Web Services - Third Edition: A pragmatic guide to designing and building RESTful APIs using Java

Bogunuva Mohanram Balachandar


Key Features

  • Build efficient and secure RESTful web APIs in Java..
  • Design solutions to produce, consume and visualize RESTful web services using WADL, RAML, and Swagger
  • Familiarize the role of RESTful APIs usage in emerging technology trends like Cloud, IoT, Social Media.

Book Description

Representational State Transfer (REST) is a simple yet powerful software architecture style to create lightweight and scalable web services. The RESTful web services use HTTP as the transport protocol and can use any message formats, including XML, JSON(widely used), CSV, and many more, which makes it easily inter-operable across different languages and platforms.

This successful book is currently in its 3rd edition and has been used by thousands of developers. It serves as an excellent guide for developing RESTful web services in Java.

This book attempts to familiarize the reader with the concepts of REST. It is a pragmatic guide for designing and developing web services using Java APIs for real-life use cases following best practices and for learning to secure REST APIs using OAuth and JWT. Finally, you will learn the role of RESTful web services for future technological advances, be it cloud, IoT or social media.

By the end of this book, you will be able to efficiently build robust, scalable, and secure RESTful web services using Java APIs.

What you will learn

  • Introduce yourself to the RESTful software architectural style and the REST API design principles
  • Make use of the JSR 353 API, JSR 374 API, JSR 367 API and Jackson API for JSON processing
  • Build portable RESTful web APIs, making use of the JAX-RS 2.1 API
  • Simplify API development using the Jersey and RESTEasy extension APIs
  • Secure your RESTful web services with various authentication and authorization mechanisms
  • Get to grips with the various metadata solutions to describe, produce, and consume RESTful web services
  • Understand the design and coding guidelines to build well-performing RESTful APIs
  • See how the role of RESTful web services changes with emerging technologies and trends

About the Author

Bogunuva Mohanram Balachandar works as associate director for a leading American multinational corporation, listed in NASDAQ-100, that provides digital, technology, consulting, and operations services. He has extensive experience in the design and development of multiple enterprise application integration projects, using various tools and technologies such as Oracle SOA Suite, Oracle Service Bus, Oracle AIA, IBM WebSphere Process Server, web services, RESTful services, Business Process Execution Language (BPEL), IBM WebSphere MQ, TIBCO EMS, Java, JMS, and Spring Integration.

He is certified in SOA, web services, and cloud technologies and has over 16 years of IT industry experience in software design and development. Prior to joining his current employer, he worked with IBM, Accenture, and Wipro.

Balachandar, in his current role, is responsible for designing the integration landscape for a leading bank.

Balachandar currently lives in London, UK with his wife, Lakshmi, and daughters, VeenaSri and NavyaSree.

Table of Contents

  1. Introducing RESTful Architecture
  2. Java APIs for JSON Processing
  3. Introducing JAX-RS API
  4. Advanced Features in JAX-RS API
  5. Introducing JAX-RS Implementation Framework Extensions
  6. Securing RESTful Web Services
  7. Description and Discovery of RESTful Web Services
  8. RESTful API Design Guidelines
  9. RESTful Services Role in Emerging Technologies
  10. Useful Features and Techniques



  • 使用Java建立高效且安全的RESTful網路API。

  • 使用WADL、RAML和Swagger設計解決方案,以產生、消費和視覺化RESTful網路服務。

  • 熟悉RESTful API在雲端、物聯網和社群媒體等新興科技趨勢中的使用角色。



這本成功的書籍目前已經出版第三版,並被數千名開發人員使用。它是開發Java RESTful網路服務的優秀指南。

本書旨在讓讀者熟悉REST的概念。它是一本實用指南,用於設計和開發使用Java API的網路服務,以實際使用案例遵循最佳實踐,並學習使用OAuth和JWT保護REST API。最後,您將了解RESTful網路服務在未來技術進步中的角色,無論是雲端、物聯網還是社群媒體。

通過閱讀本書,您將能夠使用Java API高效地構建堅固、可擴展且安全的RESTful網路服務。


  • 介紹RESTful軟體架構風格和REST API設計原則。

  • 使用JSR 353 API、JSR 374 API、JSR 367 API和Jackson API進行JSON處理。

  • 使用JAX-RS 2.1 API構建可攜式的RESTful網路API。

  • 使用Jersey和RESTEasy擴展API簡化API開發。

  • 使用各種身份驗證和授權機制保護RESTful網路服務。

  • 瞭解描述、產生和消費RESTful網路服務的各種元數據解決方案。

  • 瞭解構建高性能RESTful API的設計和編碼指南。

  • 瞭解RESTful網路服務在新興技術和趨勢中的角色。


Bogunuva Mohanram Balachandar目前擔任一家領先的美國跨國公司的副總監,該公司在納斯達克-100上市,提供數位、技術、諮詢和運營服務。他在設計和開發多個企業應用程式整合項目方面擁有豐富的經驗,使用的工具和技術包括Oracle SOA Suite、Oracle Service Bus、Oracle AIA、IBM WebSphere Process Server、網路服務、RESTful服務、業務流程執行語言(BPEL)、IBM WebSphere MQ、TIBCO EMS、Java、JMS和Spring Integration。





  1. 介紹RESTful架構

  2. Java JSON處理的API介紹

  3. 介紹JAX-RS API

  4. JAX-RS API的高級功能

  5. 介紹JAX-RS實現框架擴展

  6. 保護RESTful網路服務

  7. 描述和發現RESTful網路服務

  8. RESTful API設計指南

  9. RESTful服務在新興技術中的角色

  10. 有用的功能和技巧