Join Frank P Moley III for an in-depth discussion in this video Working with exercise files, part of Spring Boot Essential Training.
- [Instructor] If you have access to the exercise files for this course, I want to walk you through how to use them to make your learning experience the best it can be. If you open up the exercise files folder you will see that there is a folder for each chapter. Within each chapter there is a folder for each video, and within each video there is a begin and an end state to indicate where we're at in the video process. I want to show you how I would go about importing one of these exercise file folders into my IDE of choice, which is IntelliJ.
I'm going to start with an empty project. I'm going to select the modules from the project settings, and I'm going to import a module. Now I'm going to navigate to the desktop where I have the exercise files to the chapter and to the video, and I'm going to go to the begin state to begin with, and I am simply going to select each of my applications and pick open. I'm going to select Maven, which is how we have built all of our projects, and I'm going to select all the defaults and go through and finish.
I'm then going to continue this process for each of the modules that's left in the video folder. So now that we have all of our projects selected I will simply hit okay, and what's going to occur in my IDE is that Maven is going to run and import all of the dependencies needed for each of these projects. Because we're leveraging Spring Boot, IntelliJ Ultimate is going to pop up that there's a run dashboard. If you're not using the ultimate edition, you may not get that, but once it's all said and done, I will have run states for all of my Spring Boot applications that come with this video as well as several other things including all of the external dependencies, and that's how I would use the exercise files in relationship to this course.
Let's get started.
- Creating a Spring Boot application
- Configuring a Spring Boot app
- Leveraging profiles
- Packaging and running Spring Boot web apps
- Building a command-line application
- Using Spring Boot starters: Spring Data, Spring Security, and more
- Extending Spring Boot
- Using Spring Boot Actuator to monitor app health and other metrics