|
|
YOUR FEEDBACK
Did you read today's front page stories & breaking news?
SYS-CON.TV |
TOP THREE LINKS YOU MUST CLICK ON Java Industry News
Data Direct Offers XQJ Tutorial
Provides Intro to the XQuery API for Java
By: Java News Desk
Aug. 27, 2005 03:00 PM
Digg This!
The XQuery language is designed specifically for XML programming and
data integration, and programmers are more productive using XQuery for
these tasks, say Jonathan Robie (recent winner of an InfoWorld Top Innovator Award) and Jonathan Bruce of DataDirect. "However, many enterprise applications are built on the
Java platform, and often require functionality not found in XQuery," they point out. So they have written a detailed tutorial that can now be found at the Bedford, MA-based company's website at www.datadirect.com "The XQuery API for Java, currently under development as JSR 225,
lets programmers have the best of both worlds," the authors say, "using XQuery for XML
programming and data integration, with full access to the J2SE and J2EE
platforms. XQJ allows a Java program to connect to XML data sources,
prepare and issue XQueries, and process the results as XML. This tutorial shows how XQJ is used to issue XQueries and obtain
results. Next, it shows how XQJ can be used to query DOM trees, perform
joins between XML and relational sources, obtain results using StAX,
and issue prepared XQueries (similar to JDBC's prepared statements). It then moves onto four complete, working XQJ programs, including one
that uses StAX to handle output. These programs are based on the Early
Draft Review of JSR-225, released in May 2004. Code examples were
tested with a pre-release version of DataDirect XQuery, which
implements XQuery and XQJ.
LATEST JAVA STORIES & POSTS
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK SPONSORED BY INFRAGISTICS
BREAKING JAVA NEWS
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||