Please can you help me to understand all the difference between jdk dynamic proxy vs cglib dynamic proxy.? ( I know only one difference. jdk dynamic proxy uses interface implemenations and cglic dynamic proxy can be created with out interface implementation too).
If i have to choose among jdk dynamic proxy implementation and cglib dynamic proxy, which is better in performance / maintainability?
How these two differ in J2SE environement and J2EE environement?
Personally, I try to avoid using libraries that replicate functionality already in the standard APIs; why add a dependency you don't really need? Every external library you use makes your code a little bit harder to understand and maintain. But I'm a minimalist, and my opinion is not the prevailing one in the Java community!