Wednesday, December 19, 2007

Populate bookstore db in sun's J2EE5 sample

In order to populate the database using "ant create-tables" command, you need to follow the steps below:
By default, sun's application server is installed in C:\Sun\AppServer. If using a non-installation package, the j2ee server home directory could be C:\Sun\SDK.
In the tutorial, there is a file in the javaeetutorial5/examples/bp-project.
1. Copy that file and rename it to
2. In the, edit the javaee.home, javaee.tutorial.home to match your environment.
3. Uncomment the AS_ADMIN_PASSWORD and specify your application server admin password.

No comments: