What are Mono and Flux types in Spring WebFlux and how do they differ?

Heisenbug logo
TheHeisenBug

Search

Search across questions, learning content, and hands-on projects

Ace Your Next Tech Interview

5,986+ interview questions across 87 technologies — with expert answers, advanced search, AI-powered assistance, personal highlights, structured learning paths, and hands-on practice projects.

5,986+Questions & Answers
87Technologies
AdvancedSearch
Built-inAsk AI
PersonalHighlights
StructuredLearning Paths
Hands-onPractice Projects

Lifetime Access

One-time payment. No subscriptions. Unlock everything, forever.

$19.90USD

or R$49.90 BRL

FeatureFreePremium
Question titlesAllAll
Answers per topicTop 5All
Learning chaptersFirst 5All
Practice projectsFirst 3All
Highlights
Ask AI
Read tracking
Search

Spring Interview Questions

  1. [JUNIOR] What is the Spring Framework?
  2. [JUNIOR] What is Dependency Injection (DI) in Spring?
  3. [MID] What are the different bean scopes supported by Spring?
  4. [JUNIOR] What are the main features of the Spring Framework?
  5. [JUNIOR] What is Spring Boot and how does it differ from the Spring Framework?
  6. [JUNIOR] What is Inversion of Control (IoC) in Spring?
  7. [MID] Explain the Bean lifecycle in the Spring Framework.
  8. [MID] What is autowiring in Spring and what are its different modes?
  9. [MID] Explain the difference between constructor injection and setter injection.
  10. [MID] What is the difference between @Component, @Controller, @Repository, and @Service annotations?
  11. [JUNIOR] What are the advantages of using the Spring Framework?
  12. [JUNIOR] What is the Spring IoC Container?
  13. [JUNIOR] What are Spring Beans?
  14. [JUNIOR] What does the @SpringBootApplication annotation do internally?
  15. [JUNIOR] What is the use of the @Autowired annotation?
  16. [MID] What is the difference between BeanFactory and ApplicationContext?
  17. [MID] What is the @Qualifier annotation and when would you use it?
  18. [MID] How does the Spring MVC request processing flow work?
  19. [MID] What are the different types of Dependency Injection supported in Spring?
  20. [MID] What is the @Transactional annotation and how does it manage database transactions?
  21. [MID] What is Spring Boot Actuator and what are its key features?
  22. [SENIOR] How does Spring's AOP proxy mechanism work?
  23. [SENIOR] Are singleton beans thread-safe in Spring and how do you handle concurrency?
  24. [SENIOR] How would you optimize a Spring Boot application's startup time?
  25. [JUNIOR] What is a Spring configuration file?
  26. [JUNIOR] What are the different components of a Spring application?
  27. [JUNIOR] What is the @Controller annotation used for in Spring?
  28. [JUNIOR] What is the @RequestMapping annotation used for?
  29. [JUNIOR] What are the uses of @RestController annotation in Spring Boot?
  30. [JUNIOR] What is DispatcherServlet in Spring MVC?
  31. [MID] How is configuration metadata provided to the Spring container?
  32. [MID] What are the limitations of autowiring?
  33. [MID] What is the @Required annotation and why is it important?
  34. [MID] What is a View Resolver in Spring MVC and what is its significance?
  35. [MID] What are the differences between @RequestParam and @PathVariable annotations?
  36. [MID] What is the significance of the @Repository annotation?
  37. [MID] What is Spring Data JPA and what are its advantages?
  38. [MID] What are Spring profiles and how do you use them in a Spring Boot application?
  39. [SENIOR] What are the differences between Spring AOP and AspectJ AOP?
  40. [SENIOR] How can you achieve thread-safety in Spring beans?
  41. [SENIOR] How does Spring handle circular dependencies and what are the solutions?
  42. [SENIOR] What types of transaction management does Spring support and when would you use each?
  43. [SENIOR] How would you configure Spring Security to secure a RESTful API with JWT authentication?
  44. [SENIOR] What is Spring WebFlux and how does it differ from Spring MVC?
  45. [SENIOR] How would you optimize database access in a Spring Boot application?
  46. [JUNIOR] How many modules are there in the Spring Framework and what are they?
  47. [JUNIOR] What is Spring MVC?
  48. [JUNIOR] What is Spring Security?
  49. [MID] What is Bean Wiring in Spring?
  50. [MID] What is the role of the @ModelAttribute annotation?
  51. [MID] What is Annotation-based container configuration in Spring?
  52. [MID] What are the possible sources of external configuration in Spring Boot?
  53. [MID] How do you disable a specific auto-configuration class in Spring Boot?
  54. [MID] What are the differences between <context:annotation-config> and <context:component-scan>?
  55. [MID] What is the difference between singleton and prototype bean scopes in Spring?
  56. [SENIOR] What are the different types of advice in Spring AOP?
  57. [SENIOR] What is a Pointcut in Spring AOP and how do you define one?
  58. [SENIOR] What is Reactive Programming in the context of Spring and what are its benefits?
  59. [SENIOR] How do you handle exceptions globally in a Spring MVC application?
  60. [SENIOR] What are Spring Interceptors and how do they differ from Servlet Filters?
  61. [SENIOR] How do you implement custom health checks using Spring Boot Actuator?
  62. [EXPERT] How does Spring Boot's auto-configuration mechanism work internally?
  63. [JUNIOR] What is the Model in Spring MVC?
  64. [JUNIOR] What is Spring AOP?
  65. [MID] What are inner beans in Spring?
  66. [MID] What is the Spring Boot dependency management system?
  67. [MID] How can you change the default port of the embedded Tomcat server in Spring Boot?
  68. [MID] How is form data validation done in the Spring Web MVC Framework?
  69. [MID] What is ContextLoaderListener and what does it do?
  70. [SENIOR] What is weaving in Spring AOP and what are the different types?
  71. [SENIOR] What is the difference between @Autowired and @Inject annotations?
  72. [SENIOR] What is a JoinPoint in Spring AOP?
  73. [SENIOR] What are Mono and Flux types in Spring WebFlux and how do they differ?
  74. [SENIOR] What design patterns does the Spring Framework use internally?
  75. [EXPERT] How does Spring's transaction propagation work across nested method calls with different propagation levels?
  76. [EXPERT] What are the implications of using CGLIB proxies versus JDK dynamic proxies in Spring?
  77. [MID] How do you get ServletConfig and ServletContext objects in a Spring bean?
  78. [MID] How are i18n and localization supported in Spring MVC?
  79. [SENIOR] What is the difference between a concern and a cross-cutting concern in Spring AOP?
  80. [EXPERT] How does Spring AOP handle self-invocation and what are the workarounds for proxy-based limitations?
  81. [EXPERT] How does the Spring container handle bean destruction ordering across different scopes?
  82. [EXPERT] How does Spring's event system work and what are its limitations in distributed environments?
  83. [MID] What is MultipartResolver in Spring?
  84. [EXPERT] How does Spring Boot's conditional auto-configuration evaluate @Conditional annotations at runtime?
  85. [EXPERT] What are the internals of Spring's reactive backpressure handling in WebFlux?
  86. [EXPERT] What are the edge cases and pitfalls of Spring's BeanPostProcessor lifecycle hooks?
  87. [EXPERT] How does Spring's ClassPathBeanDefinitionScanner resolve component candidates during classpath scanning?
  88. [EXPERT] How does Spring Boot's embedded server architecture handle thread pool exhaustion under high concurrency?