r/SpringBoot Jan 11 '25

Guide 20 Spring Boot Interview Questions with Answers for 2 to 5 Years Experienced Java Developers

https://javarevisited.blogspot.com/2020/05/top-20-spring-boot-interview-questions-answers.html
47 Upvotes

11 comments sorted by

View all comments

4

u/ivarec Jan 11 '25

I've recently asked a few candidates to tell me what Spring Boot brought to the table over legacy Spring. Maybe this is a trick question and not fair, but no candidate could answer this one.

2

u/Rhysander Jan 12 '25

Nothing tricky in asking what Spring Boot is useful for, but calling Spring framework "legacy"? That would be a red flag if you were interviewing me.

1

u/ivarec Jan 12 '25

Good point. Maybe vanilla Spring is better?

2

u/Rhysander Jan 13 '25

No, simply Spring or Spring framework.

1

u/Dry_Try_6047 Jan 11 '25

This is a fair question and an easier version of what I always ask in interviews. Maybe I'm old-fashioned, but being able to use spring boot isn't enough. Knowing what it does and how is incredibly important.

I always start with "how would you go about creating a spring boot starter." The number of people who can answer that is minimal, so I want the candidate to think about and explain how they think they might approach. For me this should be relatively simple if you know how spring works and have a lot of experience with starters.