This project demonstrates four different ways to initialize data in Spring Boot.
If you want to know more, you should follow along with the tutorial.
To use the app, just pull this project down in Eclipse. Then, you can run it by right-clicking on InitializeApplication and selecting Run As... Java Application.
You'll see the logging from the initialization methods in the console.