hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damon Rolfs <dro...@gmail.com>
Subject Re: Reflection vs. Javassist
Date Tue, 21 Sep 2004 04:59:30 GMT
Richard, 

Could you please distribute your reflection/proxy - based interceptor?
 (Or at least send me a version?)

Cheers, ~dmr


On Sat, 18 Sep 2004 17:11:30 -0400, James Carman
<james@carmanconsulting.com> wrote:
> I wouldn't go so far as to say that there is a performance PROBLEM with
> using JDK proxies.  However, Javassist does provide a slight performance
> gain, but I'm not convinced that it's worth the headache.  I use JDK proxies
> and it works just fine for all I need.  If you ever do see that performance
> becomes an issue, then re-implement your interceptor using something like
> Javassist (or CGLIB).
> 
> 
> 
> -----Original Message-----
> From: Hensley, Richard [mailto:Richard.Hensley@McKesson.com]
> Sent: Saturday, September 18, 2004 12:49 PM
> To: 'hivemind-user@jakarta.apache.org'
> Subject: Reflection vs. Javassist
> 
> I've built an interceptor that uses reflection based on the example logging
> interceptor. At this point, I have no strong desire to learn Javassist
> unless there are known performance problems using reflection vs using
> Javaassist to build out the method implementations.
> 
> My real question, is there any real performance to be gained by using
> Javassist over Java reflection? If there is not, I don't see a good reason
> to put in all the extra engineering effort.
> 
> Richard
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Mime
View raw message