Рет қаралды 1,092
This video explain about how asynchronous programming achieved in spring framework and usage of @Async annotation and @EnableAsync annotation with step by step code demo.
1) What is asynchronous processing? Why do we need it?
2) Explain how @Async works through code?
3) Code demo
4) What is the use of @EnableAsync annotation?
5) Can we have async method and the caller in the same class?
6)What is the limitation of using async framework in transactional methods?
7)Why @Async thread pools config has blocking issues? How to avoid it?
8) How to handle exceptions while using @Async ?
0:00 - Introduction
0:38 - What is asynchronous processing? Why do we need it?
3:26 - Explain how @Async works through code?
8:11 - Code Demo
25:12 - Interview questions
25:12 - What is the use of @EnableAsync annotation?
26:06 - Limitations of Async
12:06 - Can we have async method and the caller in the same class?
28:00 - What is the limitation of using async framework in transactional methods?
30:32 - Why @Async thread pools config has blocking issues? How to avoid it?
35:06 - How to handle exceptions while using @Async ?
Github link: github.com/saranyakalaiselvan...
Spring Interview Questions: • Spring Boot Framework ...
Java21 Features: • Java21 Features
Java interview questions series: • Java Interview Questions
Java8 Interview Questions Series: • Functional Interfaces ...
Rest API Interview Questions: • Restful API Interview ...
Subscribe link: / @crackittechietalks