[hibernate-dev] How best to eliminate the Javassist dependency from Hibernate applications...

Hardy Ferentschik hardy at hibernate.org
Wed Feb 17 08:45:20 EST 2016


> I'd like to propose an alternative approach for proxy generation which
> would avoid version issues with Javassist.
> The idea is to generate proxies which are fully "self-contained", i.e.
> their byte code contains no references to a library such as Javassist,
> but instead invocations of a either a custom method handler contract
> we define ourselves or something unproblematic such as
> java.lang.reflect.InvocationHandler.

+1 Great idea. I used ByteBuddy as well a bit and I think it is a good library.


More information about the hibernate-dev mailing list