- Published on
Spring Framework
- Authors
- Name
- Lucian Oprea
- @LucianDSA_
00:30:00
Spring Core
⏷ 1. Explain Inversion of Control (IoC) and Dependency Injection (DI)
⏷ 2. What are Spring beans, and how do you define them?
⏷ 3. What are the different scopes of a Spring bean?
⏷ 4. What is the role of the ApplicationContext
?
Spring Configuration
⏷ 5. What is the purpose of the @Configuration
annotation?
⏷ 6. How do you import properties files in Spring?
⏷ 7. What are profiles in Spring, and how do you use them?
Spring AOP (Aspect-Oriented Programming)
⏷ 8. What is AOP, and why is it used in Spring?
⏷ 9. What is the difference between @Before
, @After
, and @Around
advice?
⏷ 10. What are real-world use cases of AOP?
Spring Data Access
⏷ 11. What is the role of the JdbcTemplate
class?
⏷ 12. What are Spring's transaction management capabilities?
⏷ 13. What is the difference between @Transactional
at the method and class levels?
⏷ 14. How do you integrate Spring with JPA or Hibernate?
⏷ 15. What are some common transaction isolation types?
⏷ 16. What are some common transaction propagation types?
⏷ 17. What is the purpose of timeout
and readOnly
attributes in a transaction?
⏷ 18. What is the N+1 query problem in JPA, and how do you solve it?
⏷ 19. How do you map a one-to-many relationship in JPA?
Spring MVC
⏷ 20. What is the role of the DispatcherServlet
in Spring MVC?
⏷ 21. What is the difference between @Controller
and @RestController
?
⏷ 22. How do you handle exceptions in Spring MVC?
⏷ 23. What are interceptors in Spring MVC, and how do you use them?
⏷ 24. What is the difference between @ResponseBody
and @ResponseEntity
?
⏷ 25. How do you validate input in a Spring REST API?
⏷ 26. How do you use @PathVariable
and @RequestParam
?
Spring Security
⏷ 27. What are the steps to set up basic authentication?
⏷ 28. What is the difference between @PreAuthorize
and @Secured
?
⏷ 29. How do you implement custom authentication in Spring Security?
⏷ 30. How do filters work in the Spring Security filter chain?
⏷ 31. What is CSRF, and how does Spring Security prevent it?
⏷ 32. How do you configure JWT in Spring Security?
Spring Testing
⏷ 33. How do you test Spring MVC controllers?
⏷ 34. What is the role of the @SpringBootTest
annotation?
⏷ 35. What is the difference between unit testing and integration testing in Spring?
⏷ 36. How do you mock dependencies in Spring tests?
Spring Cloud and Microservices
⏷ 37. How do you implement service discovery using Spring Cloud Netflix Eureka?
⏷ 38. What is Spring Cloud Config, and how does it work?
⏷ 39. How do you implement circuit breakers using Spring Cloud?
⏷ 40. What is the purpose of Spring Cloud Gateway?
⏷ 41. How do you implement rate limiter using Spring Cloud?
Advanced Topics
⏷ 42. How does the WebClient
work in Spring WebFlux?
⏷ 43. What are other RestTemplate
alternatives?
⏷ 44. How do you enable caching in Spring?
⏷ 45. What are some strategies for optimizing Spring application performance?
⏷ 46. What is Spring Boot Actuator used for?
⏷ 47. What is Spring Batch used for?