Computer Science A
Learning Goals 3
Learning Goals 3
Learning Goals 3
Learning Goals 3
Learning Goals 3
Learning Goals 3
Learning Goals 4
Learning Goals 3
Learning Goals 4
Anatomy of a Spring Boot Project
Spring Project Anatomy
Use these locations to find the part of your application you need to change:
| Location | Purpose |
|---|---|
pom.xml |
Spring, JPA, SQLite, security, and Thymeleaf dependencies |
src/main/java/ |
Entities, repositories, controllers, and security configuration |
src/main/resources/application.properties |
Port and database configuration |
src/main/resources/templates/ |
Thymeleaf HTML for the /mvc/* option |
src/main/resources/static/ |
Static assets served from Spring |
Main.java, annotated with @SpringBootApplication, starts the application. For this assignment, use the configured port and SQLite database from the starter project rather than copying older example settings.
Security Files
SecurityConfig.javaisOrder(1)and processes the/api/*filter chain first.MvcSecurityConfig.javaisOrder(2)and processes the/mvc/*filter chain afterward.
See Java Spring Hacks for the required endpoint and UI path.
Hacks
Start your own Spring project: Open Coding Society Spring
Course Timeline
Week 0 Chat click to open
No messages yet.
Week 1 Chat click to open
No messages yet.
Week 2 Chat click to open
No messages yet.
Week 3 Chat click to open
No messages yet.
Week 4 Chat click to open
No messages yet.
Week 5 Chat click to open
No messages yet.
Week 6 Chat click to open
No messages yet.
Week 13 Chat click to open
No messages yet.
Week 17 Chat click to open
No messages yet.
Week 18 Chat click to open
No messages yet.
Week 19 Chat click to open
No messages yet.
Week 21 Chat click to open
No messages yet.
Week 22 Chat click to open
No messages yet.
Week 25 Chat click to open
No messages yet.
Week 27 Chat click to open
No messages yet.
Week 31 Chat click to open
No messages yet.
Week 34 Chat click to open
No messages yet.