Cargando…

Developing RESTful web services with Jersey 2.0 : create RESTful web services smoothly using the robust Jersey 2.0 and JAX-RS APIs /

The book will follow a standard tutorial approach and will teach readers how to use the Jersey API for creating RESTful web services. This book is intended for Java EE developers who are building applications on the REST architecture. This is a quick, hands-on guide for learning JAX-RS 2.0. Develope...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Gulabani, Sunil
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2013.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started; What is JAX-RS 2.0?; Features of JAX-RS 2.0; Ease of use and reusing JAX-RS artifacts; Modules and dependencies; Creating a new project; Summary; Chapter 2: Server API; Root resource classes; @Path; @Path with a regular expression; HTTP methods; @GET; @PUT; @POST; @DELETE; @Produces; @Consumes; Parameter annotations; @PathParam; @QueryParam; @DefaultValue; @MatrixParam; @HeaderParam; @CookieParam; @FormParam; @BeanParam; Subresources.
  • Scope of the root resource classesRules of injection; Deploying a RESTful web service; Summary; Chapter 3: Client API; Consuming web service using client; The get method; The post method; The put method; The delete method; The path parameter; The query parameter; The cookie parameter; The matrix parameter; The bean parameter; The @Produces annotation; The @Consumes annotation; Use of Invocation. Builder; Adding support for new representations; Client transport connectors; Securing a client; Summary; Chapter 4: Common Media Type Representations; JSON; MOXy; Using ResourceConfig class.
  • Java API for JSON Processing (JSON-P)Jackson; Jettison; XML; Low-level XML support; JAXB support; POJOs; Multipart; Summary; Chapter 5: Server-Sent Events (SSE); Getting started; Implementing Server-Sent Events (SSE); Consuming the SSE events; The pull model (Using EventInput); The push model (using EventSource); Summary; Chapter 6: WADL; Getting started; Configuration; Summary; Index.