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

23.3. Creating a sample database

In this chapter, it is assumed that the sample database WSSAMPLE has been already created and populated with sample data. For details about how to create and populate WSSAMPLE, see Chapter 22, “Accessing JDBC databases from portlet applications” on page 669.

23.3.1. Creating a connection

Once the database is created, you can proceed to create the connection to the database and verify it. However, before you do this, you will need to create a folder to copy the database metadata.

Creating a database folder

On the Web perspective, execute the following steps:

1.
Right-click the WEB-INF folder, select New → Folder from the contextual menu.
Figure 23-9. Select a new folder
2.
Enter database ...

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