geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship" <>
Subject RE: Reflection Bad, OO and direct Method invocation Good...
Date Sat, 09 Aug 2003 14:40:20 GMT
HiveMind includes some stuff refactored out of Tapestry, not Hibernate (that's Gavin King's
mapping framework).

HiveMind makes use of Javassist (MPL) to generate classes on-the-fly.  This sidesteps reflection
a very nice, efficient way.

Javassist is very clever; it groks an approximation of Java language syntax (has some kind
of parser
built in) and generates bytecode from that.  Makes doing sophisticated bytecode generation
very easy.

I did some tests that showed that using Javassist was a bit faster than dynamic proxies, and
a lot
more memory efficient.

Please direct all Tapestry questions to

Howard M. Lewis Ship
Creator, Tapestry: Java Web Components

View raw message