Spring Boot Interview
Spring Boot Interview
• What is Spring Boot, and how does it differ from the Spring Framework?
• What are the key features of Spring Boot?
• What is the purpose of application.properties or application.yml?
• How does Spring Boot simplify dependency management?
• What is auto-configuration in Spring Boot, and how does it work?
• What are @SpringBootApplication and its components (@Configuration,
@ComponentScan, @EnableAutoConfiguration)?
• What is Spring Data JPA, and how does it simplify database interactions?
• What are derived query methods in Spring Data JPA?
• Why JPA is better than JDBC?
• How do you write custom JPQL and native queries in Spring Boot?
• What is the purpose of @Entity, @Table, @Column, and @Id annotations?
• How do you perform transactions in Spring Boot JPA?