File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Any open source XQJ implementation? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Any open source XQJ implementation?" Watch "Any open source XQJ implementation?" New topic
Author

Any open source XQJ implementation?

Sirish Kumar B R
Greenhorn

Joined: Jan 28, 2009
Posts: 1
Hi,
I am trying to implement a search function on data stored in a large XML file. (something like a search on all the Employee records stored in the XML). One option was to parse the XML (using SAX) and then construct an in memory data structure of all the Employee records. I then need to define a custom search algorithm to run over this data structure.

Another option was using XQuery and the XQJ which would allow to run search queries on XML data. There was only one implementation from DataDirect. Any idea of if there is an open source implementation of XQJ that I can use? Else I might need to default to option 1

Thanks
Jelle Klap
Bartender

Joined: Mar 10, 2008
Posts: 1752
    
    7

Saxon-B is open-source and provides a basic XQuery implementation.
I don't have any experience with this implementation; at my current job we opted for the DataDirect XQuery solution, because have to deal with a lot of EDI to XML (and vice-versa) conversion.
The performance (CPU cycles and memory consumption) figures of the DataDirect implementation vs. "a popular open-source implementation" provided by DataDirect were also convincing. Though I should probably mention we never bothered to verify these figures.


Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Any open source XQJ implementation?
 
Similar Threads
Right Answer
Need help in XQJ
locking and the find method.
DataDirect Technologies Releases DataDirect XQuery: Simplify XML and Relational Data
Reading / Storing Data Without Knowing What it Is