Project structure conventions
On This Lesson 4 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
follow the standard layout.
Planned topics
- Main class in the top package; everything else below it.
src/main/resources:application.yml, templates, static files.src/test/javamirrors the main packages.- Keep config classes in a
configpackage.
Draft outline details
Demonstration
tree: com.shop.api with ShopApiApplication, products, config.
Check your understanding
Why must the main class be in the top package?
Show answer
So scanning covers all sub-packages.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.