From the course: Building RESTful Web Services with DropWizard

Overview of available classes

- [Instructor] Let's explore the various different classes typically used in a Dropwizard application, and they usually fall under one of these categories. You first have a configuration class, which specifies environment parameters. Then you have an application class, which forms a core of your application, with a basic functionality of the application. Next you have a representation class, where we build the elements, that will represent our model of the application, or the data site. And finally the resource class is where we build our API endpoints of the HTTP service or web service. So when we call a specific endpoint like your domain, plus endpoints contacts, it returns the contacts. This is where we define those endpoints. So as we explore the actual code for each of these types of classes, this will make a lot more sense. So let's move on to coding.

Contents