Huib,
Thanks a lot. The approach with the REST interface is a helpful hint. I like the flexibility of that.
The RESTTransformer seems to be your contribution, right? Does it work with Cocoon 2.1 or 2.2?
Cheers, Achim
On 24.01.2011 13:34, Huib Verweij wrote:
Op 24 jan 2011, om 12:52 heeft Joachim Wackerow het volgende geschreven:
Hello,
Hi Joachim,
Does anybody has experience in using BaseX in the Cocoon framework?
Currently I'm using eXist with Cocoon (by the XML:DB protocol). I would be interested to use BaseX with Cocoon. Now I'm wondering if anybody tried this and can give me some hints.
I'm using the REST interface to communicate with BaseX from Cocoon. Using REST it makes it easy to switch XML databases, should the need arise (because of company policy for instance, not because BaseX is not capable enough or something like that). I'm using the RESTTransformer from the cocooncomponents project on Google code. So I can't comment on the Java language binding in BaseX, but I imagine it shouldn't be too hard to create a transformer using that, there are lots of examples on the wiki.
I started out with eXist but due to some technical difficulties I switched to BaseX. BaseX and me are working together for the first time and I am quite pleased with it. Very robust, very speedy. Nice GUI. Everything cool.
Huib Verweij.