MCQs > IT & Programming > Spring Framework > How are JDK Dynamic proxies and CGLIB proxies used in Spring?

Spring Framework MCQs

How are JDK Dynamic proxies and CGLIB proxies used in Spring?

Answer

Correct Answer: JDK Dynamic proxy can proxy only interface, so it is used if the target implements at least one interface. A CGLIB proxy can create a proxy by subclassing and is used if the target does not implement an interface.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Spring Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Spring Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it