|
Home > Online Product Documentation > Table of Contents > Deploying Generated Code Deploying Generated CodeIf your XQuery application uses Stylus Studio's adapter file system technology - to convert CSV or EDI to XML, or to render relational data as XML, for example - you need to use the optional Stylus Studio 2006 XML Deployment Adapters if you wish to deploy your code to a test or application server. The Stylus Studio 2006 XML Deployment Adapters are purchased and installed separately from Stylus Studio 2006 XML Enterprise Edition. Email us, or call 781.280.4488 for more information. OverviewThe process for deploying generated XQuery code that uses Stylus Studio's adapter file system technology includes the following steps: In Stylus Studio
1. Build and test the application in Stylus Studio. When testing, be sure to use the XQuery processor you will be using in your production environment. You specify the XQuery processor on the
Processors tab of the
Scenario Properties dialog box.
2. Generate and compile Java code for the XQuery in Stylus Studio (
myApplication.java, for example).
3. Copy the XQuery (
.xquery), source (
.edi, for example), and Java file for the generated application (
.java) to the target production server.
On the Production Server
1. If you have not done so already, install the Stylus Studio 2006 XML Deployment Adapters module.
2. Modify the classpath to include the location of the Jar files associated with the Stylus Studio 2006 XML Deployment Adapters module.
3. Open the
.java file (
myApplication.java, for example) and edit the following:
The section of code in which you will find these files is shown here:
4. Compile the
.java file.
You can now run the application code independently, or incorporate it in another application on the same server. About the unlockAPI() Method
The
The Enterprise Edition installation ID is adequate for testing purposes on your local workstation, but if you want to deploy an XQuery application that uses Stylus Studio adapters on one or more test or application servers, you need to use the Deployment Adapter installation ID for the
|
XQuery API for Java (XQJ)
DataDirect XQuery is an embeddable software product based on the XQuery and XQJ standards that enables Java developers to access both relational and XML data sources using a single XQuery query. Runs on Oracle, SQL Server, DB2, and more!
Support for DataDirect SequeLink
Learn about Stylus Studio's support for DataDirect SequeLink, an end-to-end database middleware solution that provides a universal thin client for ODBC, JDBC, ADO or .NET, providing flexibility for both client- and server-based deployments.
XML to PDF
Convert XML to PDF using Stylus Studio's XML publishing tools - the easiest way to design beautiful document layouts for use in XSL:FO based multi-channel publishing and single source publishing applications.
Convert HTML to XML
Convert HTML-to-XML with a Document Wizard that quickly converts any HTML to standard XML with the click of a button! To get started, just click File, Document Wizards on the Stylus Studio menu.


