22.2. Creating a sample database

In this section, we describe the process of creating a database connection and generating the required Java classes; these classes are similar to the classes used in the sample scenario included in this book.

Note

In 22.3, “Sample scenario” on page 689, a portlet project to access a JDBC database will be imported into the HRPortlet project created in the previous section. In this implementation, the JDBC connection has already been included.

This section explains how to create a database and a database connection using the wizard provided by Rational Application Developer.

22.2.1. Creating the WSSAMPLE database

Before creating the connection, you need to create the database you are going to connect to. In this ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.