PacktLib: Developing RESTful Web Services with Jersey 2.0

Developing RESTful Web Services with Jersey 2.0

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started

What is JAX-RS 2.0?

Ease of using and reusing JAX-RS artifacts

Modules and dependencies

Creating a new project

Summary

Server API

Root-resource classes

@Path

HTTP methods

Parameter annotations

Subresources

Scope of the root-resource classes

Rules of injection

Deploying a RESTful web service

Summary

Client API

Consuming web services using a client

Use of Invocation.Builder

Summary

Common Media-Type Representations

JSON

XML

Multipart

Summary

Server-Sent Events (SSE)

Getting started

Implementing Server-Sent Events (SSE)

Summary

WADL

Getting started

Configuration

Summary

Index