29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3. This will open the The New Database Connection wizard. For this exercise<br />

we used a DB2 database.<br />

We did, however, also test with Oracle and Microsoft SQL <strong>Server</strong> and will<br />

show you the connection for these.<br />

Figure 6-4 Creating a connection to a DB2 database<br />

a. DB2 connection<br />

The values needed in the wizard for connecting to a DB2 database are<br />

shown in Figure 6-4.<br />

The Connection name will be OnlineCatalogConn. This name is only<br />

used to identify the connection. It is chosen at random.<br />

The Database name is SALESAPP. This must be the same value you<br />

named your database when you created it using your database<br />

software.<br />

The User ID and Password you enter must have the proper<br />

authorization to access the database. In this case, we will use<br />

db2admin and db2admin, for the user ID and password.<br />

160 <strong>IBM</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> - Express V5.0.2 Developer Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!