What you will learn  Lesson 1: Creating a Basic Hello World Application

Chapter 3: About the PocketBuilder Tutorial

Setting up for the tutorial

Before you start the tutorial, you need to make sure that you can connect to a database and that you have the tutorial files.

Connecting to a database

The tutorial uses the ASA Demo DB database that installs with PocketBuilder and two ASA SalesDB databases that you set up. These are Adaptive Server Anywhere databases and require the Sybase Adaptive Server Anywhere engine. If you do not already have Adaptive Server Anywhere on your local machine or server, you must install it now. You can install it from the PocketBuilder CD. If you installed PocketBuilder in a nondefault location, you must make sure that the odbc.ini registry entry defining the ASA Demo DB as a data source points to the correct location of the Adaptive Server Anywhere engine.

Requirements

To test the applications you develop in the tutorial on the Pocket PC, you must have either an ARM-based or an XScale-based device or a Pocket PC emulator.

Before you begin Lesson 9, “Creating a Sales Application,” make sure you have the PocketBuilder Virtual Machine (VM) as well as the ASA database and MobiLink Client installed on your deployment device or emulator. For information, see the PocketBuilder Installation Guide.

The Tutorial directory

The tutorial also uses the files listed in Table 3-3:

Table 3-3: Files required by the PocketBuilder tutorial

File

Contents

MakeDB.cmd

A command file located in the Tutorial\SalesDB\db directory that creates and populates the remote and consolidated databases and creates the corresponding data source names

tutorial.ico

An icon located in the Tutorial\HelloWorld directory

When you install PocketBuilder, these files are installed in the Tutorial directory, which is a subdirectory of the PocketBuilder installation directory.

When you have finished the tutorial, you can delete the files.

The Tutorial\Solutions directory

The Tutorial\Solutions directory has solutions for the HelloWorld, EmployeeList, and SalesDB lessons. The solutions contain all the objects and scripts that you create in the tutorial, as well as workspace and target files. You can use this solutions library as a reference if you need to.





Copyright © 2004. Sybase Inc. All rights reserved. Lesson 1: Creating a Basic Hello World Application

View this book as PDF