geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship" <hls...@comcast.net>
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
LGPL O/R
mapping framework).

HiveMind makes use of Javassist (MPL) to generate classes on-the-fly.  This sidesteps reflection
in
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,
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 tapestry-user@jakarta.apache.org.

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry
 


Mime
View raw message