First off, this is my first week with BaseX, and I'm extremely pleased with both performance and ease of use. Thank you.
I really like the interface provided by jax-rx, but I want to deploy it inside of a war rather than start a separate server. While I considered starting the basex server in ServletContextListener, I noticed that LocalSession now supports all of the operations of ClientSession. I was hoping that you'd consider making the jax-rx's selection of LocalSession or ClientSession based upon a system property. The first patch above changes references to ClientSession and LocalQuery to Session and Query respectively in BXOutput and BXJaxRX. You should be able to apply it without any concerns. The second patch introduces a SessionFactory that is used by BXCode to create Sessions appropriately. It worked for me, but as I said this is my first week with the tool. There might be side effects that I didn't intend or a better place to introduce this functionality.
Any time frame on releasing a 6.7.1 that includes your full LocalSession implementation?
Thanks, Aaron