Customer Database example
Customer Database is a small example application created from the
Web Application application type. The following steps will generate,
install and run the Customer Database on the HSQLDB database server
and Resin application server that are distributed with RapidJ:
Open the Customer Database
project file:
rapidj \examples\customer\customer.rpj
Open the
Generate Database tab .
Press the Generate Database button to open the
Generate Database Script dialog .
Press the Add All button to select all entities.
Press the Generate button to generate the script.
Start the HSQLDB database server from the menu, Server -> Start Database Server .
Press the Connect button to open the customer-hsqldb-1.7 connection.
Press the Execute button to
execute the SQL . Confirm
that the execution was successful in the
Messages tab.
Open the
Generate Code tab .
Press the Generate Code button to generate the application code.
Start the Resin database server from the menu, Server -> Start Application Server .
Select the resin-2.1 generated directory in the
Generated File tree .
Press the Console button in the
generated file toolbar .
At the console window type:
ant install
(Note: this requires you to have Ant installed, see prerequisites )
Point your browser at
to access the Customer Database!
Related topics
Getting started
Related tasks
Opening a project
Executing a sql statement
Related reference
Generate Database tab
Generate Database Script dialog
Messages tab
Generate Code tab
Generated File tree