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
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
This tutorial explains the steps required to use the DataDirect Connect for JDBC™ drivers with the Sun Java System Application Server1, which include:
You must create a JSP page that uses the JDBC Resource you created in the previous step. A sample JSP page named JavaSystemASTest.jsp is provided in the JavaSystemASTest.war file, which is available from the same location you obtained this document. This JSP page includes the following code to look up the JDBC Resource and obtain a connection to the database from the data source returned from the lookup.
InitialContext ctxt = new InitialContext();
DataSource ds = (DataSource) ctxt.lookup("jdbc/TestDS");
con = ds.getConnection();
1 The steps in this paper were generated using the Sun Java System Application Server Platform Edition 8.1. The steps for other versions may differ.
Or, you may also be interested in learning about:
Real-Time Access to XML Data
Discussions, tips and tricks for
DataDirect Connect drivers
Copyright © 2017, 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.