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