SnoopyMe
SnoopyMe

Reputation: 1035

XML processors for executing xqj in java

I need to query xml data using XQJ in my java application. I wanted to know the options that I have for xml/xquery processors.

I explored and got to know about:

  1. oracle's xquery processor that is shipped with Oracle 11g
  2. Saxon.

Any other suggestions?

Upvotes: 2

Views: 1176

Answers (4)

Dino Fancellu
Dino Fancellu

Reputation: 2004

As well as having a processor you need an API. Charles Foster's XQJ.net might well help for eXist, baseX, Sedna and Marklogic.

http://xqj.net/

Upvotes: 2

Charles Foster
Charles Foster

Reputation: 21

You could certainly try MarkLogic, eXist, BaseX or Sedna XQJ drivers which are located at http://xqj.net

It would be daft to use vendor propriety APIs as you will be locked into a particular database vendor, with no improvement in performance.

Also you could try checking out the XQJ entry on Wikipedia for more clarity:

http://en.wikipedia.org/wiki/XQuery_API_for_Java

Upvotes: 2

Hannes Bauer
Hannes Bauer

Reputation: 253

You might want to try BaseX, which also offers a full implementation of XQJ:

http://basex.org/products/ http://docs.basex.org/index.php?title=Special%3ASearch&search=xqj

You will most probably get better results when using the native APIs, no matter which processor you are using (but of course there are reasons for using XQJ as well).

Hope this helps, Hannes

Upvotes: 3

Dennis Münkle
Dennis Münkle

Reputation: 5071

zorba has an XQJ branch. Please, consult the zorba users mailing list for further information on this.

Upvotes: 1

Related Questions