Switch to standard view 
  Sybase logo

Tutorial: Using Xcode and JDBC with Adaptive Server Anywhere 9.0.1 on Mac OS X


This tutorial walks you through the creation of a simple Cocoa application with Xcode on Mac OS X. The application queries the Contact table of the Adaptive Server Anywhere 9 sample database (asademo.db). It provides the ability to move through the contact table with a bi-directional cursor and save changes to Street and ZIP data.

The tutorial does not teach JDBC or Java programming. There are many resources available on the web to assist you with these topics. Instead, it assists you in building an Xcode Cocoa Java project by putting together the required components within the IDE.

This tutorial is divided into two sections: one for using the iAnywhere JDBC driver, and one for using jConnect. In each section, instructions are provided for two versions of this tutorial: a quick start version that allows you to run the project right away, and a step-by-step version that takes you through the steps for creating a new Cocoa project.


Download the whitepaper here.


Choosing a JDBC driver

Building a Cocoa Project that Uses the iAnywhere JDBC Driver
Creating an ODBC data source
iAnywhere JDBC driver quick start

Tutorial: Building a Cocoa Project that Uses the iAnywhere JDBC Driver
Creating a new project in Xcode
Adding classes to the project
Adding resources to the project
Configuring the target
Building and running the project

Tutorial: Building a Cocoa Project that uses jConnect
jConnect quick start
Building a Cocoa project that uses jConnect

Legal Notice
Contact Us

Download the whitepaper here.

Back to Top
© Copyright 2010, Sybase Inc.