RESTful web services with Dropwizard : over 20 recipes to help you build high-performance, production-ready RESTful JVM-based backend services
Book information
Description
Over 20 recipes to help you build highperformance, productionready RESTful JVMbased backend servicesAbout This Book 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 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. What You Will Learn 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. Content: Cover Copyright Credits About the Author About the Reviewers www.PacktPub.com Table of Contents Preface Chapter 1: Getting Started with Dropwizard Web service development with Dropwizard Preparing your development environment Chapter 2: Creating a Dropwizard Application Generating a Maven-based project Configuring Dropwizard dependencies and building the configuration Hello World using Dropwizard Chapter 3: Configuring the Application Externalizing the application's configuration Validating configuration settings Chapter 4: Creating and Adding REST Resources. Creating a resource classChapter 5: Representations -- RESTful Entities Creating a representation class Serving representations through the Resource class Mapping the request data to representations Chapter 6: Using a Database Preparing the database Interacting with the database Chapter 7: Validating Web Service Requests Adding validation constraints Performing validation Cross-field validation Chapter 8: The Web Service Client Building a client for our application Interacting with our services Chapter 9: Authentication Building a basic HTTP authenticator. Authenticating users with credentials stored in a databaseChapter 10: The User Interface -- Views Building a user interface for the web service client Appendix A: Testing a Dropwizard Application Creating a complete test for the application Adding health checks Appendix B: Deploying a Dropwizard Application Preparing the application for deployment Index.
Similar books
RESTful web services with Dropwizard : over 20 recipes to help you build high-performance, production-ready RESTful JVM-based backend services
2014 · MOBI
RESTful web services with Dropwizard : over 20 recipes to help you build high-performance, production-ready RESTful JVM-based backend services
2014 · EPUB
RESTful Web Services with Dropwizard
2014 · PDF
RESTful Web Services with Dropwizard
2014 · MOBI
RESTful Web Services with Dropwizard
2014 · EPUB
SOCIAL MEDIA MARKETING ALGORITHMS: Constant Passive Income Online Over Time Through YouTube , TIK TOK, Instagram And Twitch Account. Build Your Personal Branding And Become A Successful Influencer
2020 · AZW
Die ertrag- und vermögensteuerrechtliche Behandlung von Gewerbebetrieben mit Betriebsstätten in Deutschland und Griechenland: im Lichte des deutsch-griechischen Doppelbesteuerungsabkommens (DBA)
1996 · PDF
Der Zweifel an der Rechtswidrigkeit der Tat: Eine Untersuchung zur Problematik des bedingten Unrechtsbewußtseins
1992 · PDF