Start a Spring Boot project with a compatible Java version and only the dependencies needed for one feature. Understand startup and configuration before adding database and security layers.
Before you begin
Be comfortable with variables, conditions, loops and basic methods. Use a small local project with a recorded JDK version and keep the input data fictional.
Work through the idea
Write the expected behavior before implementing the exercise. Keep the first version small enough to trace manually, then change one input or requirement. Record both the successful path and an invalid or empty-input case so that the result demonstrates reasoning rather than a copied output.
- Generate from the official initializer
- Inspect the build file
- Create and test a small endpoint
Practice task
Build a greeting endpoint with a configurable display name in a development project.
Check your result
Record the Java version, startup command and expected response; test missing or invalid input.
A mistake to avoid
Do not publish development credentials in application configuration.
Keep a review note
Save the inputs or scenario, your reasoning and the result you checked. Explain one assumption and one case that needs more work. Revise the exercise after feedback and distinguish what you demonstrated from what remains untested.
Official reference for further study
Explore the related learning path · Choose another worksheet
