Learn XQuery |
Home:Learn XQuery:White Papers:ACORD:Downloading DataDirect XQuery™ ACORD Examples Installing and Running DataDirect XQuery™ ACORD ExamplesYou can run the examples discussed in XQuery Operation Examples for an ACORD Insurance Application on your own machine. To get started, you need:
The examples can be modified to be installed and run against different databases, but we have written and tested them against a Microsoft SQL Server database at this point. Preparing the DatabaseBefore you can run the examples, you need to create and populate the tables in your database. We have prepared two SQL scripts to make this task as easy as possible:
Both scripts assume that you want to create/remove the tables in the pubs database; you can easily change that default at the beginning of the script files. Running the XQuery FilesThe XQuery files described in XQuery Operation Examples for an ACORD Insurance Application are all available in the ACORD-xquery.zip file that you can download and expand on your local file system. Once downloaded, you can run the XQuery files in at least two different ways:
Repeat these steps for all XQueries you want to run. Note, however, that once you save them, this information is available next time you open them in Stylus Studio. About the Java FilesThe Java files described in Using DataDirect XQuery™ to Bind External Variables to Dynamic Values can be compiled and run in your preferred Java development environment (and in Stylus Studio). These files are also available in ACORD-xquery.zip. Note that you will need to edit the top sections of the Java sources to reference the correct folder locations and database connection strings. In addition, Acord181EJB.java and Acord201.java rely on DataDirect XQuery™. These files need Learn More!Go to www.xquery.com to learn more about putting DataDirect XQuery™ to work for you today! |
New Case StudyGevity produces sales proposals in real time using DataDirect XQuery® . See how Gevity uses DataDirect XQuery® to combine Web service data from SalesForce.com with relational data in Oracle in a pricing engine for HR management. |





