The "bytecode engineering library" is a Jakarta package, written in pure Java, which provides the functionality for dynamic synthesization of new Java classes at runtime, either based on injection and reorganization of existing classes, or from scratch. An even more mature and capable library, CGLIB has been built on top of BCEL, which is used by many highly popular and robust frameworks such as Hibernate, Spring, and iBatis.

Bytecode engineering is essential to the operation of AOP but has more harmless and productive uses. Part of CGLib is FastClass, a drop-in replacement for the JDK reflection functionality which offers a truly vast 20-30x improvement in speed.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-) was last changed on 19-Jul-2006 09:36 by UnknownAuthor