XQuery API for Java (XQJ) refers to the common Java API for the W3C XQuery 1.0 specification. It was submitted under the Java Community Process as JSR 225 [1], and final release was made available on June 24, 2009.
The XQJ API enables a Java developer to:
The XQJ API goes a long way in giving Java developers an interface to the XDM Model.[3]. Its design is closely related to JDBC, using client/server terminology, which lends itself well to Server based XML Databases, but is less well adapted to embedded Databases or client-side XQuery processors.
At the time of writing (Dec 2011) there appear to be no plans for XQJ to become part of the standard Java class library.