Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. XQuery API for Java(TM)refers to the common Java API for the W3C XQuery 1. 0 specification. The XQJ API enables Java programmers to execute XQuery against an XML data source while reducing or eliminating vendor lock in. The XQJ API provides Java developers with an interface to the XQuery Data Model. Its design is similar to the JDBC API which has a client/server feel and as such lends itself well to Server based XML Databases and less well to client-side XQuery processors, although the "connection" part is a very minor part of the entire API. Users of the XQJ API can bind Java values to XQuery expressions, preventing code injection attacks. Also, multiple XQuery expressions can be executed as part of an atomic transaction.