Ok then ... since I haven't got any feedback on this and because
crawling the web myself hasn't produced any results either, I decided to
invest a couple of weekends re-studying the the JSR223 (Java Scripting
Framework) and implementing a wrapper for BaseX by myself.
For those who are not aware, JSR223 is a specification standardizing the
embedding scripting languages into Java based applications. Was BSF once
upon a time....
As a use case at Nubisware, in particular, we wanted to continue using
BaseX powered XQuery 3.1 scripts inside BPMN workflow engines for
ScriptTasks and Event Handlers.
One plan that we have for the future is to create an equivalent engine
that is able to execute scripts through REST on a remote BaseX server
... but still reasoning whether this is backed by any real use case.
You can access the code and readme at [1] or download the current v0.1
jar from [2].
Of course every 2 cents of feedback will be warmly appreciated.
Enjoy,
Marco.
[1] https://github.com/nubisware/basexjsr223
[2]
https://github.com/nubisware/basexjsr223/releases/download/v0.1/BaseXJSR223.jar
On 11/06/19 13:00, Marco Lettere wrote:
Hi all,
is anyone on the list aware of a JSR223 compliant wrapper for BaseX in
order to include XQuery scripting "seamlessly" into scriptable
applications?
Thanks.
Marco.