Create and deliver personalized experiences across digital properties at scale
Build engaging websites with intuitive web content management
Leverage a complete UI toolbox for web, mobile and desktop development
Build, protect and deploy apps across any platform and mobile device
Build mobile apps for iOS, Android and Windows Phone
Rapidly develop, manage and deploy business apps, delivered as SaaS in the cloud
Automate UI, load and performance testing for web, desktop and mobile
Host, deploy and scale Node.js, Java and .NET Core apps on premise or in the cloud
Optimize data integration with high-performance connectivity
Automate decision processes with a no-code business rules engine
Globally scale websites with innovative content management and infrastructure approaches
Content-focused web and mobile solution for empowering marketers
Faster, tailored mobile experiences for any device and data source
UX and app modernization to powerfully navigate today's digital landscape
Fuel agility with ever-ready applications, built in the cloud
XQuery comes to the Java platform with the launch of the DataDirect XQuery™ beta program starting tomorrow on May 17th. With this important technology boundary crossed, I thought it was well overdue for some code snippets in my blogs. I think this is a habit I should develop a little more.
Enabling your Java applications with XQuery is as easy as establishing a context to an XQuery data source with the following code.
1. First, import the appropriate packages
2. Next, establish a context to the XQuery data source.Fairly simple so far, as I'm sure you will agree. Remember, XQuery does not discriminate what data source it queries as long as it can viewed as XML. With DataDirect XQuery we provide support for connecting to an XML data source using URIs including
but we also enable XQuery expressions to be written against relational data stores. To describe the data sources to connect to, we provide a simple configuration file to allow you to describe the data source to connect to.
3. Next you apply the configuration file to the DDXQDataSource:
XQDataSource dataSource = null;
DDXQDataSource dataSource = (DDXQDataSource)new DDXQDataSource();
<description>My description of this particular configuration</description>
View all posts from Jonathan Bruce on the Progress blog. Connect with us about all things application development and deployment, data integration and digital business.
Copyright © 2016, Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.