Folks,

org.apache.excalibur.tools.DynamicProxy uses reflection to generate dynamic proxies. This is easy, but the exception handler that reflection provides re-wraps exceptions in InvocationTargetException. This at the very least does not aid debugging.

There is a LGPL sourceforge project called BCEL ( http://bcel.sourceforge.net/ ), that we could use to generate proxies instead of the reflection based mechanism. Slower load time, I guess, but quicker to invoke.

Xalan use it : http://cvs.apache.org/viewcvs.cgi/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java (and others)

Anybody have any thoughts on this?

Regards,

- Paul H


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to