If you do it your way there is no need to reimplement the jamon servlet filter. Just put yours in the chain before it and monitor the db connection that way. Also, once you have a monitored connection there is no reason to keep calling monitor on it. I believe jamon checks first and won't remonitor an already monitored connection though.
Joined: Apr 23, 2009
so you want me to use jamon jdbc proxy connection in my application? meaning
get this connection and use it in my application??
Joined: Jun 26, 2002
Yes, but it would be better not to do this in code, but make it a property that can be changed. If you don't have this then you can put it in your code that returns connections.