logo       

RE: What's the overhead from using Proxies?: msg#00067

java.openejb.devel

Subject: RE: What's the overhead from using Proxies?

It involves reflection which is always much slower compared to calling the method directly.
 
On that note, our ProxyFactory interface would allow us to change that.  We could create a ProxyFactory implementation that actually generated java code that called the handler directly, etc.  That is the way we used to do things actually (DynamicProxyFactory), unfortunately that implementation isn't right.  I got part way into rewriting it a few months ago, but didn't get too far before I ran out of time.  I may have the code somewhere.
 
-David
 
 
-----Original Message-----
From: openejb-development-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:openejb-development-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Alan Cabrera
Sent: Monday, February 17, 2003 4:24 PM
To: 'openejb-development@xxxxxxxxxxxxxxxxxxxxx'
Subject: [OpenEJB-dev] What's the overhead from using Proxies?

What's the overhead, if any, incurred by using Proxies instead of compiling stubs when Beans are deployed?  I was just curious.
 
 
Regards,
Alan
 
 
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise