I'm trying to work out how easy it would be to leverage the Derby DRDA server endpoint, but instead of passing requests/queries to the SQL engine, forward them to my application code directly. I'd like to use something like JXPath, JoSQL or Quaere to actually generate resultsets and return them.
I've looked in the mail archive, but couldn't find any pointers. I've looked in the source code, and DRDAConnThread seems to be the best place so far, but it's not clear if there's a better hook location. I realise this is a bit of an odd request, but I'd basically like to hot plug (ideally) the query processor, while leveraging the DRDA end points (so I can use any JDBC/ODBC client). Any ideas? Cheers, Ken.
