Direction: Choose the correct option
Q1.
What is weaving in AOP?
Direction: Choose the correct option
Q2.
When does compile-time weaving occur?
Direction: Choose the correct option
Q3.
What is load-time weaving (LTW)?
Direction: Choose the correct option
Q4.
Which type of weaving does Spring AOP primarily use?
Direction: Choose the correct option
Q5.
What is required for load-time weaving in Spring?
Direction: Choose the correct option
Q6.
What is the difference between JDK dynamic proxy and CGLIB proxy?
Direction: Choose the correct option
Q7.
How does Spring decide which proxy mechanism to use?
Direction: Choose the correct option
Q8.
What is the purpose of the @EnableAspectJAutoProxy annotation?
Direction: Choose the exact option
Q9.
What is AspectJ weaving?
Direction: Choose the correct option
Q10.
In a typical Spring weaving example, which proxy is used for a @Repository class (no interface)?
