> 1) Can tomcat-dbcp be used outside of tomcat e.g. in non-web apps?

Yes, but tomcat-dbcp is exactly the same as commons-dbcp.  You would
probably just want to use commons-dbcp.

> 2) If yes, are all features available as when used within tomcat?

It has the same feature set as commons-dbcp.

  https://commons.apache.org/dbcp/

> 3) Most importantly are custom interceptors supported when tomcat-dbcp
> is used outside tomcat?
> 4) Can custom interceptor influence/extend connection validation?
> Would like not only to configure validation query but also to add
> extra logic which would process result of the query.
> 5) Are there any examples, documentation, blog posts showing
> implementations of custom interceptors?

I'm not exactly sure what you are referring to with regard to the
interceptors.  Which version of Tomcat are you using?  How are you
configuring this within Tomcat?

Dan


Reply via email to