First Skyway Bank Sample Application Setup Guide

Skyway Visual Perspectives 6.0

April 14, 2008

Abstract

The purpose of this document is to provide instructions for setting up the First Skyway Bank (FSB) Sample application. Visit the Skyway Community Portal.


Table of Contents

1. Overview
1. Assets and Prerequisites
2. Setup

List of Figures

1.1. First Skyway Bank
2.1. Data Store Information
2.2. FSB_Store under Data_Service
2.3. Database Information
2.4. Server Setup
2.5. Add FSB Project to Server
2.6. FSB Project to Server Launch

Chapter 1. Overview

Table of Contents

1. Assets and Prerequisites

The purpose of this document is to provide instructions for setting up the First Skyway Bank (FSB) Sample application. This is a sample application that intended to give examples of basic development concepts using Skyway Visual Perspectives.

Figure 1.1. First Skyway Bank

First Skyway Bank

1. Assets and Prerequisites

First Skyway Bank Project. The Skyway Eclipse Project. This can be downloaded from the Skyway Perspectives CVS. The connection information is:

Connection Type: pserver

User: guest

Password:[blank]

Host:www.skywayperspectives.org

Repository Path: /CVS

Path to Project: HEAD-->skyway-->examples-->FirstSkywayBank

Be careful to ensure that you leave the project name in mixed case: FirstSkywayBank.

Chapter 2. Setup

  1. Setup a Datasource. The FSB project has been set up to use a database connection name of SkywayDB. If you already have a connection set up, you can either rename the connection to SkywayDB or change the FSB project to use your existing connection.

    If you choose to create a new datasource or use an existing one and name it 'SkywayDB', you will need to modify and save the Skyway Data Store. A quick way to modify and save the data store is to add text to the data store description field, which will mark the Skyway Data Store as changed.

    Figure 2.1. Data Store Information

    Data Store Information

    If you choose to update FSB to use your existing data source you will need to:

    1. Open the FSB_Store located under the Data_Service service.

      Figure 2.2. FSB_Store under Data_Service

      FSB_Store under Data_Service

    2. Update the Database Information on the Data_Service Database Configuration tab to use your connection.

      Figure 2.3. Database Information

      Database Information

  2. Add a Server: The Community Edition of Skyway Visual Perspectives only will allow deployments to an open source server like Appache Tomcat or JBoss.

    If not already completed, setup an application server to run the FSB project. If you do not have an open source server downloaded, the RCP version of Skyway Visual Perspectives does include a version of Apache Tomcat 6 you can setup for use with the FSB project.

    Figure 2.4. Server Setup

    Server Setup

  3. Deploy FSB project: Once you have the application server set up you can add the FSB project to the local server and then start the server.

    Figure 2.5. Add FSB Project to Server

    Add FSB Project to Server

  4. Launching FSB project: To launch FSB, you will find a jsp paged called index.jsp located in the WebContent folder. Right-click on the index.jsp file and choose Run As --> Run On Server and this will direct you to the start page of FSB.

    Figure 2.6. FSB Project to Server Launch

    FSB Project to Server Launch