Building RESTful Web Services with DropWizard
1h 12mIntermediate2020-06-30
Authors

Emmanuel Henri
Executive with 20+ years of experience in programming and design
Course details
Learn how to build RESTful APIs with Dropwizard, a lightweight framework for Java web developers. Instructor Emmanuel Henri takes you step by step through your first project with Dropwizard, including setting up your development environment and exploring the project structure of a Dropwizard application. Next, take a tour of the foundational classes, including the configuration, application, representation, and resource classes. Discover how to create and refine your data model and add the endpoints necessary to post, retrieve, and update data from your API. In the final chapters, Emmanuel covers testing, compiling, and publishing the API in your local environment. Everything you learn in this course can be easily transferred to your own RESTful Dropwizard APIs.
Topics include:
Dropwizard basics
Project setup
Foundational Dropwizard classes
Creating your data model
Adding endpoints
Testing your API
Compiling the JAR file
Topics include:
Dropwizard basics
Project setup
Foundational Dropwizard classes
Creating your data model
Adding endpoints
Testing your API
Compiling the JAR file
Skills covered
DropWizardJavaScript FrameworksJavaOracleProjectWeb Development
Concepts
0. Introduction
- 01 - RESTful web services with Dropwizard
- 02 - What you should know
1. First Steps
- 03 - Dropwizard introduction and REST APIs
- 04 - IDE for Dropwizard
- 05 - Initial setup with Maven
- 06 - Dropwizard project structure
2. Foundational Classes
- 07 - Overview of available classes
- 08 - Setup with configuration class
- 09 - Overview of application class
- 10 - Syntax of the representation class
- 11 - Syntax of the resource class
3. REST Data Model
- 12 - Create your data model
- 13 - Finalize your data model
- 14 - Create the database class
4. REST Resources
- 15 - Add POST endpoint
- 16 - Add GET endpoint
- 17 - Finalize endpoints code
5. Finalize and Testing
- 18 - HealthCheck overview for testing
- 19 - JAR compilation
- 20 - Testing final application
Conclusion
- 21 - Next steps