Spring proxy jdk vs cglib

Simple version: Aspectj static weaving: do the aop at compile time using Aspectj’s own compiler: ajc. JDK Proxy: when class implements some interface. The proxy will implement every interface. It can NOT be cast to theĀ original target class because it’s simply a dynamic proxy that happens to implement the same interface(s) as the target CGLIB:…