RESTful Web Services with Dropwizard


RESTful Web Services with Dropwizard
eBook: $20.99
Formats: PDF, PacktLib, ePub and Mobi formats
$17.85
save 15%!
Print + free eBook + free PacktLib access to the book: $55.98    Print cover: $34.99
$52.84
save 6%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Learn how to build and test your own high-performance Web Service application
  • Know more about creating and serving custom database content with Web Services
  • Gain insight on how to secure your Web Service

Book Details

Language : English
Paperback : 112 pages [ 235mm x 191mm ]
Release Date : February 2014
ISBN : 1783289538
ISBN 13 : 9781783289530
Author(s) : Alexandros Dallas
Topics and Technologies : All Books, Web Development, Open Source


Table of Contents

Preface
Chapter 1: Getting Started with Dropwizard
Chapter 2: Creating a Dropwizard Application
Chapter 3: Configuring the Application
Chapter 4: Creating and Adding REST Resources
Chapter 5: Representations – RESTful Entities
Chapter 6: Using a Database
Chapter 7: Validating Web Service Requests
Chapter 8: The Web Service Client
Chapter 9: Authentication
Chapter 10: The User Interface – Views
Appendix A: Testing a Dropwizard Application
Appendix B: Deploying a Dropwizard Application
Index

Alexandros Dallas

Alexandros Dallas studied Applied Informatics in Management and Economy and is now a software test engineer based in Athens. He has a solid programming/software development background, and whenever he is free, he spends his time contributing to open source projects. He is well aware of Dropwizard's core libraries, such as Jersey, since his interests include the development and integration of web APIs.
Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 1 submitted: last submission 10 Apr 2014

Support query: code bundle | Chapter 02

The dev team may have removed the packages from the sonatype repository, so you might face some error. The code bundle has been updated on the Packt website.

 In order to use the newly published ones from maven central, the readers are advised not to include the following <repositories />entry in the pom.xml:
    <repositories>
        <repository>
            <id>sonatype-nexus-snapshots</id>
            <name>Sonatype Nexus Snapshots</name>
        </repository>
    </repositories>

 

Another addition that needs to be done in pom.xml file is to replace all occurences of <version>0.7.0-SNAPSHOT</version>with <version>0.7.0</version> (i.e. remove the -SNAPSHOT part).

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

RESTful Web Services with Dropwizard +    Selenium 2 Testing Tools: Beginner’s Guide =
50% Off
the second eBook
Price for both: $33.45

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Build a sample Web Service application powered by Jersey
  • Configure your application and externalize your configuration settings
  • Use jDBI to interact with databases
  • Validate Web Service requests
  • Build Web Service clients
  • Add runtime health checks to ensure your application’s optimal performance
  • Ensure your application's stability by creating unit tests using the Dropwizard testing modules

In Detail

The RESTful Web Services concept is constantly growing compared to SOAP technologies. Used by many API providers, RESTful has started to become the architecture of choice for the enterprise SOA as well. Dropwizard combines everything needed to create production ready RESTful Web Services, combining the most powerful, stable and well-known RESTful Java-based libraries.

This practical guide will help you learn how to create, configure, and implement a dynamic Web Service application by showcasing practical examples using the most important modules of Dropwizard and combining them together.

Starting from using Maven to create an empty default Java application to deploying a production-ready scalable Web Service application, this book demonstrates the capabilities of Dropwizard and the advantages of using it.

Discover how to use Jersey to create rest resources, and add them to Dropwizard's bootstrapped environment so they can be served by its embedded Jetty server. Learn how to combine and utilize the Database. Understand more about Configuration, Testing and Monitoring libraries to create a Web Service application in a step-by-step manner using solid examples. Also gain insight on how to secure your Web Services and validate incoming requests with minimum effort.

This book is an invaluable asset to anyone who wants to create a RESTful Web Service application with the combined libraries of Dropwizard.

Approach

A hands-on focused step-by-step tutorial to help you create Web Service applications using Dropwizard

Who this book is for

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.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software