Home  |  FAQ  |  Purchase |  Contact





Demo

The demo application is on standard Oracle HR schema. Follow the installation guide below.

Animation

introduction

  1. InPowerForms is a development framework which enhances Oracle's JClient architecture for ADF in order to allow developers to implement Database Applications equal to or exceeding Oracle Forms (4GL) level quality, capabilities, and versatility while utilizing J2EE technology.
  2. The InPowerForms API interfaces with the native ADF / JClient components, extending their capabilities and ensuring stable functionality within the framework. It also implements the elements of Oracle Forms which do not natively come with the JClient architecture, such as Data Blocks, LOV dialogs and combo boxes, Key Mappings, correct Master-Detail querying functionality and more.
  3. In this document, we explain how you can set up your environments to install and run InPowerForms Demo Program and also show you how to use InPowerForm's Java API to create your front end user interface for Demo Program.

Installation and Configuration

Download the BasicEdition.zip.

There is no need to Accra a separate license key. Use the one that is included. You can start building your prototype in a commercial environment and as long as your application is not deployed in production environment, you do not need to make any purchase. However, the trial version has a limitation of only be able to open a maximum of SIX Forms per session. This limitation is adequate even for some production applications. InPowerForms will only allow the FIRST SIX Forms to be open per session.

Pre-Installation

In your local drive says "C:", do the following.

Unzip the Basic Edition under root directory C:\

Now you will have C:\BasicEdition\

Sun Java 2 SDK Installation (Client)

  1. Install Sun's Java 2 SDK with Version 1.4.2_05 or 1.4.2_06 or 1.4.2_07 or 1.5.0_05xx
  2. Add JAVA_HOME environment variable to the root of SDK
  3. Note, this demo version is heavily obfuscated, we cannot guarantee that it will run on any other jvm that we do not test. Any purchased versions may be relaxed of obfuscation if it is found to cause problem in your Java compiler.

Oracle database Installation

  1. Install Oracle database with version 9i or 10g
  2. You should install HR schema during the installation because our Demo program will refer to it..

Demo Program Installation

  1. Connect to Oracle database using "SYS" as sysdba
  2. Open and execute the "C:\BasicEdition\InPowerForm Framework Basic Edition Script.sql" script file, it will create a user called "ips_demo" and corresponding tables for InPowerForms framework
  3. Test your connection by using the following information:
    1. User: ips_demo
    2. Password: ips_demo

Oracle JDeveloper 10g R3 Installation and Configuration

  1. Install Oracle JDeveloper with version 10g(10.1.3), it is the R3 verson.
  2. Create a database connection inside the JDeveloper called "IpsDemo" by using the following information
    1. User: ips_demo
    2. Password: ips_demo
    3. Leave "Role" empty
    4. Leave "Deploy Password" empty
  3. Create a new workspace "Demo" in the choose of your directory and unckeck "Add a new empty project". Click "Ok" and then "Save".

STOP HERE! If you download BasicEdition.zip then continue with steps 4-9.

Otherwise if you download InPowerForms runtime from JDeveloper Help=>Check for update=>Open Source and Partners Extensions => InPowerForms ADF Basic Edition 2.0.0, use steps 10-12.


  1. Click "Add to Demo" button to add the following projects to your "Demo" workspace. C:\BasicEdition\demo.jpr
  2. Right click on demo.jpr node, select "Project Properties..." to bring up project properties dialog. Click on "Libraries" node. Make sure J2SE version "1.4.2_xx" is displayed. If not, you need to click "Change" button to define your jvm. The dialog is as follows:
  3. Add all (.jar) files from the folder under "C:\BasicEdition\libx\" directory to your class path. To do this, Click on "Add Jar/Directory..." and select the jars.
  4. Click "Add Library..." and add oracle libraries. Please refer to the picture above to select all the oracle libraries
  5. Order everything exact as indicated by the picture above. The order is important in order to perform a successful build.
  6. For those of you need to run the Demo using a different IDE, you need to find out under each what jars each of pre-named oracle library contains and goto JDeveloper directory to identify them. A list is all jars needed for Demo :
  7. Assume you download InPowerFormsRuntime from JDeveloper's Update Center. Download the demo source code from here DemoSource.zip .
  8. Unzip to, say C:\DemoSource\. Click "Add to Demo" button to add the following projects to your "Demo" workspace. C:\DemoSource\demo.jpr
  9. Right click on demo.jpr node, select "Project Properties..." to bring up project properties dialog. Click on "Libraries" node. Make sure J2SE version "1.4.2_xx" is displayed. If not, you need to click "Change" button to define your jvm. Click on the "Libraries" node within the dialog tree. Click on "Add Library..." and select "InPowerForms Library" you just imported. Compile and run.

Demo Program Configuration

The last step before you can run the Demo Program is to configure the application.properties of Demo Program. You can find this file in the following directory.

C:\BasicEdition\demo\src\com\ips\properties

Demo program has a license key built in the program which do not have to be changed. Open the application.properties file and make the following changes according to your environment.

The application.properties file

database.instance=ips #change to your environment
database.username=ips_demo #keep this
database.password=ips_demo #keep this
database.url=jdbc:oracle:thin:@10.0.0.20:1521 #change to your environment

#leave the rest untouched....

Setup Run Configuration

Goto menu "Run->Choose Active Run Configuration->Manage Run Configuration" to bring up the project properties dialog. You can edit or create a new run configration. The Default Run Target will be the class entry point under demo\src\com\ips\client\core\DemoApp.java .



Copyright. © 2002-2006 InPowerSoft Corporation  All rights reserved.