Learn how to build a simple command-line application with Spring Boot.
- [Instructor] Implementing CommandLineRunner…is actually really straightforward,…and we're gonna use this as a way…to prime future operations that we're gonna do…with asynchronous messaging.…But for now we're just gonna build…our CommandLineRunner application.…So in my ID, I actually have my room web application…up and running.…And we're gonna jump to the terminal here,…and just prove to you that it's actually working…in serving json.…We're gonna go ahead and use my httpie command…to execute against API rooms…and indeed see that we are returning a json payload…which is what we would expect.…
So now back in our IDE, we're gonna create a new module.…And again we'll use the Spring Initializer.…If you wanna use the website,…you're totally free to do so.…We're gonna go ahead and give this project a group…of com.frankmoley….boot.clr…and we're gonna give this artifact an application name…of room-clr-app.…Now go ahead and hit next.…And we're actually not gonna select any dependencies…from Spring Boot other than boot itself.…
AuthorFrank P Moley III
- 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
Skill Level Intermediate
What you need to know4m 14s
1. Boot Camp
2. Web Applications with Spring Boot
3. Command-Line Applications with Spring Boot
4. Using Spring Boot Starters
5. Extending Spring Boot
6. Extending Actuator
Next steps3m 1s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.