Home » Tutorials » XML Programming » An XQuery Servlet for RESTful Data Services
An XQuery Servlet for RESTful Data Services
667
Category : Tutorials » XML Programming
relational, and flat file formats such as EDI to create complex XML and HTML results. . than integrate data from one or more sources to create an XML or .
Download File Free PDF eBooks Download Tutorials XML Programming
XQuery for Data Integration Many servlets do nothing more than integrate data from one or more sources to create an XML orHTML result. XML plays a central role in most data-intensive Web applications, and XQuery wasdesigned to make it easy to find data in XML input, process and transform XML, and create any desiredXML structure. XQuery simplifies programming with XML in the same way that SQL simplifiesprogramming with relational data and Java simplifies programming with objects — each languagewas designed for working with data using a particular data model, and supports the operations that arecommonly needed in the given paradigm.
In addition, the XQuery language was also designed to simplify data integration. Many Web applicationsneed to combine data from various sources, including XML, relational databases, legacy formats, andWeb Services. Each of these data sources typically has its own API and data model, and sometimesalso has its own query language. After finding the data it needs in each of these data sources, morecode is written to combine the data. Consider a servlet that combines data from two databases and aWeb Service — in the Java world, this typically involves coding to three different APIs, then writingJava code or JSP to combine the results, as illustrated below.
Favorite XML Programming PDF File
1916
XML Southbound Tutorial
category Tutorials » XML Programming
1152
XMaLpha XML Tutorial
category Tutorials » XML Programming
1369
Tutorial Expanding Your Markup With XML
category Tutorials » XML Programming
3728
XML Tutorial
category Tutorials » XML Programming
1818

