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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.