|
>Home>Learn XQuery>White Papers>Why XQuery>Use XQuery with Java
Print
Using XQuery with Your Java Applications
Having gained an understanding of XQuery and what a basic XQuery query looks like, we now look at implementations that allow you to use XQuery with your applications today.
The XQuery API for Java (XQJ) is the standard Java API for using XQuery with Java applications. XQJ functions much like the JDBC API by channeling your XQuery query to the data source and returning the XML result so that it can be used by any Java application. We explore more on how this works in the XQJ Primer.
Middle-tier components such as DataDirect XQuery™ are built on XQJ and allow any Java application to perform XQuery queries on XML or relational data, or a combination of the two. Information about other implementations can be found on the W3C XQuery Web page.
|