Home  |  FAQ  |  Purchase |  Contact
Up |  Installation |   Tutorials





InPowerForms RCP Demo

Animation

Coming ...

Introduction

  1. InPowerForms is a database application development framework that allows developers to implement database driven applications equal to or exceeding Oracle Forms (4GL) level of quality, capabilities, and versatility while utilizing J2EE technology.
  2. InPowerForms RCP is not only an port of InPowerForms ADF version, it offers many distinctive features that are unique to Eclipse. For a detail differentiation, please refer to FAQ.
  3. In this document, we explain how you can set up your environments to install and run InPowerForms RCP demo program and also show you how to use InPowerForm's Java API to create your front end user interface. The demo program is a min human resource application called InPowerHR.

Installation and Configuration

Download the BasicEditionRCP.zip

There is no need to acquire 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.

Limitations

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. For example, if you open Form A,B,C,D,E,F in a session, and even if you close E and F, you will not be able to open G. You have to restart the application.

The trial version does not have paging enabled. So if you display a database table of tens of thousands of rows, it will consume substantial amount of memory.

Unpack

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

Unzip the BasicEditionRCP.zip to any location said under the root directory C:\

Now you will have C:\BasicEditionRCP\ with the following plugins:

  1. com.inpowersoft.hr_2.5.0
  2. com.inpowersoft.inpowerforms_2.5.1.jar
  3. com.inpowersoft.inpowerforms.doc_2.5.0.jar
  4. com.sun.mail_1.0.0.jar
  5. org.hibernate.libs_3.0.5.jar

Sun Java 2 SDK Installation (Client)

  1. Install Sun's Java 2 SDK with Version1.5.0_05xx or above. We make heavy use of Java 1.5 new features.
  2. Configure your Eclipse IDE to access to the 1.5 version of JVM.
  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.

Database Installation

InPowerForms RCP is database neutral and can work with any database supported by Hibernate. In the InPowerHR demo we included a database script under MySQL for ease of use. You will find the script under com.inpowersoft.hr_2.5.0/dbscript/mysqlData.sql . Install your MySQL server and restore the script into a schema called demo (or anything you prefer). For detail on installation of MySQL please refer to mysql.com web site.

You can also run the script with or without modifications on your favorite database.

InPowerHR configuration

In your directory for your InPowerHR source code: com.inpowersoft.hr_2.5.0/com.inpowersoft.hr/hr.cfg.xml , this file as many of you may recognize is a Hibernate configuration file. It is pre-configured to use a MySql database demo schema with a user demo and its password demo as well. Change these settings to reflects to your MySQL database or if you choose a different database change the JDBC driver specification as well. Last, change the host name and the port number you installed your MySQL server. Do not change any other settings within this file other than those mentioned.

<property name="hibernate.connection.username">demo</property>
<property name="hibernate.connection.password">demo</property>

<property name="hibernate.dialect">
org.hibernate.dialect.MySQLDialect</property>
<property name="hibernate.connection.url">
jdbc:mysql://10.0.0.26:3306/demo</property>
<property name="hibernate.connection.driver_class">
com.mysql.jdbc.Driver</property>

Run the InPowerHR application

  1. In your eclipse IDE, setup a run configuration by pulling the menu Run=>Run...
  2. Create a configuration HR and specify Run as a product: com.inpowersoft.hr.ProductId
  3. Goto the Plug-ins tab within the Run Dialog and click Deselect All to clear all the plugins first
  4. Check com.inpowersoft.hr and then click Add Required plug-ins
  5. Last, click Run

  6. You will now be presented with a login dialog, use dyoung as the user and 4321 as the password and Developer as the role name to login. You can change that later.

 

Now you are ready to goto the tutorials while the InPowerSoft HR is up and running.



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