Cover image for RESTful Web Services with Dropwizard.
RESTful Web Services with Dropwizard.
Title:
RESTful Web Services with Dropwizard.
Author:
Dallas, Alexandros.
ISBN:
9781783289547
Personal Author:
Physical Description:
1 online resource (119 pages)
Contents:
RESTful Web Services with Dropwizard -- Table of Contents -- RESTful Web Services with Dropwizard -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Getting Started with Dropwizard -- Web service development with Dropwizard -- Preparing your development environment -- Getting ready -- How to do it… -- Downloading and installing Java -- Downloading and installing Maven -- Downloading and installing MySQL -- How it works… -- 2. Creating a Dropwizard Application -- Generating a Maven-based project -- Getting ready -- How to do it… -- How it works… -- Configuring Dropwizard dependencies and building the configuration -- How to do it… -- How it works… -- The exclusion of digital signatures -- Hello World using Dropwizard -- How to do it… -- How it works… -- There's more… -- Logging -- Default HTTP Ports -- 3. Configuring the Application -- Externalizing the application's configuration -- How to do it… -- How it works… -- There's more… -- Dropwizard's configuration parameters -- YAML -- Validating configuration settings -- How to do it… -- How it works… -- There's more… -- Specifying default parameters -- 4. Creating and Adding REST Resources -- Creating a resource class -- How to do it... -- How it works… -- There's more… -- HTTP verbs - RESTful convention -- HTTP response codes -- The Response class -- 5. Representations - RESTful Entities -- Creating a representation class -- How to do it… -- How it works… -- There's more… -- The Jackson Java JSON processor -- JSON arrays -- Ignoring properties.

Serving representations through the Resource class -- How to do it… -- How it works… -- There's more... -- Using cURL to perform HTTP requests -- Mapping the request data to representations -- How to do it… -- How it works… -- 6. Using a Database -- Preparing the database -- Getting ready -- How to do it… -- How it works… -- Interacting with the database -- Getting ready -- How to do it… -- How it works… -- There's more… -- The JDBI fluent style API -- The @MapResultAsBean annotation -- 7. Validating Web Service Requests -- Adding validation constraints -- How to do it… -- How it works… -- There's more… -- List of constraint annotations -- Performing validation -- How to do it… -- How it works… -- There's more… -- The @Valid annotation -- Cross-field validation -- How to do it… -- How it works… -- 8. The Web Service Client -- Building a client for our application -- Getting ready -- How to do it… -- How it works… -- There's more… -- Interacting with our services -- How to do it… -- How it works… -- There's more… -- 9. Authentication -- Building a basic HTTP authenticator -- Getting ready -- How to do it… -- How it works… -- There's more… -- Setting client's credentials -- Optional authentication -- Authentication schemes -- Authenticating users with credentials stored in a database -- Getting ready -- How to do it… -- How it works… -- There's more… -- Caching -- 10. The User Interface - Views -- Building a user interface for the web service client -- Getting ready -- How to do it… -- How it works… -- There's more… -- Serving static assets -- A. Testing a Dropwizard Application -- Creating a complete test for the application -- Getting ready -- How to do it… -- How it works… -- There's more… -- Adding health checks -- How to do it… -- How it works… -- B. Deploying a Dropwizard Application -- Preparing the application for deployment -- How to do it….

How it works… -- There's more… -- Multiple configuration files -- Index.
Abstract:
A hands-on focused step-by-step tutorial to help you create Web Service applications using Dropwizard. If you are a software engineer or a web developer and want to learn more about building your own Web Service application, then this is the book for you. Basic knowledge of Java and RESTful Web Service concepts is assumed and familiarity with SQL/MySQL and command-line scripting would be helpful.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: