Books & Videos

Table of Contents

  1. REST and the JAX-RS Standard

    1. Chapter 1 Introduction to REST

      1. REST and the Rebirth of HTTP
      2. RESTful Architectural Principles
      3. Wrapping Up
    2. Chapter 2 Designing RESTful Services

      1. The Object Model
      2. Model the URIs
      3. Defining the Data Format
      4. Assigning HTTP Methods
      5. Wrapping Up
    3. Chapter 3 Your First JAX-RS Service

      1. Developing a JAX-RS RESTful Service
      2. Deploying Our Service
      3. Writing a Client
      4. Wrapping Up
    4. Chapter 4 HTTP Method and URI Matching

      1. Binding HTTP Methods
      2. @Path
      3. Subresource Locators
      4. Gotchas in Request Matching
      5. Wrapping Up
    5. Chapter 5 JAX-RS Injection

      1. The Basics
      2. @PathParam
      3. @MatrixParam
      4. @QueryParam
      5. @FormParam
      6. @HeaderParam
      7. @CookieParam
      8. @BeanParam
      9. Common Functionality
      10. Wrapping Up
    6. Chapter 6 JAX-RS Content Handlers

      1. Built-in Content Marshalling
      2. JAXB
      3. Custom Marshalling
      4. Wrapping Up
    7. Chapter 7 Server Responses and Exception Handling

      1. Default Response Codes
      2. Complex Responses
      3. Exception Handling
      4. Wrapping Up
    8. Chapter 8 JAX-RS Client API

      1. Client Introduction
      2. Bootstrapping with ClientBuilder
      3. Client and WebTarget
      4. Building and Invoking Requests
      5. Configuration Scopes
      6. Wrapping Up
    9. Chapter 9 HTTP Content Negotiation

      1. Conneg Explained
      2. Language Negotiation
      3. Encoding Negotiation
      4. JAX-RS and Conneg
      5. Leveraging Content Negotiation
      6. Wrapping Up
    10. Chapter 10 HATEOAS

      1. HATEOAS and Web Services
      2. HATEOAS and JAX-RS
      3. Building Links and Link Headers
      4. Wrapping Up
    11. Chapter 11 Scaling JAX-RS Applications

      1. Caching
      2. Concurrency
      3. Wrapping Up
    12. Chapter 12 Filters and Interceptors

      1. Server-Side Filters
      2. Reader and Writer Interceptors
      3. Client-Side Filters
      4. Deploying Filters and Interceptors
      5. Ordering Filters and Interceptors
      6. Per-JAX-RS Method Bindings
      7. Exception Processing
      8. Wrapping Up
    13. Chapter 13 Asynchronous JAX-RS

      1. AsyncInvoker Client API
      2. Server Asynchronous Response Processing
      3. Wrapping Up
    14. Chapter 14 Deployment and Integration

      1. Deployment
      2. Configuration
      3. EJB Integration
      4. Spring Integration
      5. Wrapping Up
    15. Chapter 15 Securing JAX-RS

      1. Authentication
      2. Authorization
      3. Authentication and Authorization in JAX-RS
      4. Programmatic Security
      5. Client Security
      6. OAuth 2.0
      7. Signing and Encrypting Message Bodies
      8. Wrapping Up
    16. Chapter 16 Alternative Java Clients

      1. java.net.URL
      2. Apache HttpClient
      3. RESTEasy Client Proxies
      4. Wrapping Up
  2. JAX-RS Workbook

    1. Chapter 17 Workbook Introduction

      1. Installing RESTEasy and the Examples
      2. Example Requirements and Structure
    2. Chapter 18 Examples for Chapter 3

      1. Build and Run the Example Program
      2. Examining the Source Code
    3. Chapter 19 Examples for Chapter 4

      1. Example ex04_1: HTTP Method Extension
      2. Example ex04_2: @Path with Expressions
      3. Example ex04_3: Subresource Locators
    4. Chapter 20 Examples for Chapter 5

      1. Example ex05_1: Injecting URI Information
      2. Example ex05_2: Forms and Cookies
    5. Chapter 21 Examples for Chapter 6

      1. Example ex06_1: Using JAXB
      2. Example ex06_2: Creating a Content Handler
    6. Chapter 22 Examples for Chapter 7

      1. Example ex07_1: ExceptionMapper
    7. Chapter 23 Examples for Chapter 9

      1. Example ex09_1: Conneg with JAX-RS
      2. Example ex09_2: Conneg via URL Patterns
    8. Chapter 24 Examples for Chapter 10

      1. Example ex10_1: Atom Links
      2. Example ex10_2: Link Headers
    9. Chapter 25 Examples for Chapter 11

      1. Example ex11_1: Caching and Concurrent Updates
    10. Chapter 26 Examples for Chapter 12

      1. Example ex12_1 : ContainerResponseFilter and DynamicFeature
      2. Example ex12_2: Implementing a WriterInterceptor
    11. Chapter 27 Examples for Chapter 13

      1. Example ex13_1: Chat REST Interface
    12. Chapter 28 Examples for Chapter 14

      1. Example ex14_1: EJB and JAX-RS
      2. Example ex14_2: Spring and JAX-RS
    13. Chapter 29 Examples for Chapter 15

      1. Example ex15_1: Custom Security
      2. Example ex15_1: JSON Web Encryption
  1. Index

  2. Colophon