Sybase Business Intelligence Solutions - Database Management, Data Warehousing Software, Mobile Enterprise Applications and Messaging
Sybase Brand Color Bar

Search for    in all of
view all search results right arrow

Support > Technical Documents > Document Types > White Paper-Technical > Tutorial: Using Xcode and JDBC with Adaptive Serve...  
RSS Feed

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.


  • SQL Anywhere Studio 9.0.1 for Mac OS X, or later
  • Mac OS X 10.3, or later
  • Xcode version 1.1

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.


Related Links

Last Revised: Jul 08, 2004
Product: SQL Anywhere
Technical Topics: SQL ISV Applications, SQL Server Applications
Business or Technical: Technical
Content Id: 1030936
Infotype: White Paper-Technical

© Copyright 2014, Sybase Inc. - v 7.6 Home / Contact Us / Help / Jobs / Legal / Privacy / Code of Ethics