JSP Components
 
Setting Up the Database
 
The instructions that follow explain how to use the AccountEJB example with a Cloudscape database. The Cloudscape software is included with the J2EE SDK download bundle. We may also run this example with databases provided by other vendors.
 
1. From the command-line prompt, run the Cloudscape database server:
cloudscape -start
 
2. Edit the script that creates the account database table.
Write the Following command in Windows:
cd %J2EE_HOME%\doc\guides\ejb\examples\util
In the cloudTable script, change <installation-location> to the directory in which you installed the J2EE SDK.
 
3. Run the script that creates the account database table.
Note: If you are not using a Cloudscape database, we may run the account/createTable.sql script to create the account table.