difference between javaassist and cglib
问题 I learning hibernate and I understood that hibernate has stopped using cglib and switched to javaassist. I also understood that javaassist and cglib are used for proxy generation. so I was wondering how these two works and which one is better? What is the difference between their working style? 回答1: Cglib is no longer actively maintained and the library's developers would not even apply provided patches: https://jaxenter.com/hibernate-to-deprecate-cglib-as-bytecode-provider-102106.html