From the course: Building RESTful Web Services with DropWizard

Unlock this course with a free trial

Join today to access over 22,500 courses taught by industry experts.

Overview of application class

Overview of application class

- [Instructor] Okay so now let's focus on our application file. This file is responsible for pulling all the elements of our application and provides basic functionality. And you can find it in the application folder here. So it's basically this file here. So let's click on it. So we're not going to make much changes in this particular video on this file but let's explore it a little bit. What happens in this file is that we are initializing the application with whatever is implemented in this section here. So if we need to add any packages or bundles or anything this is where it's initialized. And then just before the application runs it's going to do anything in here that needs to be done. So implementation of the actual application. And once this is all done it's going to basically run the application here. So if we have to do anything inside of the application this is where we're going to do it. So right here…

Contents