commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: [proxy] InvocationRecorder?
Date Mon, 07 Apr 2008 07:12:21 GMT
jcarman@carmanconsulting.com wrote:
> On Sat, Apr 5, 2008 at 4:28 PM, Jörg Schaible
> <joerg.schaible@gmx.de> wrote:
>>  Pico folks do this for years in their web layer. More or less done
>>  in ProxyToys technology. They use it also to assemble the
>>  components available for each incoming request. However, the
>>  interesting part is the replay action. That way the expensive part
>>  with all the reflection magic to search the matching components is
>>  replaced the second time simply with the recordings of the proxy.
> 
> That's exactly what we're looking at here, but the thought is that the
> recording piece is common enough that it could be put into proxy.

Yep. Definitely +1. I simply gave an example for an existing use case :)

> What the application actually does with the recorded invocations is up
> to it.  For instance, we're thinking of generating a class at runtime
> that makes the calls using Javassist.

That apporach would even be faster than the implementation used in Pico/Nano.

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message