O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required