16.10.2015 Views

Getting Started with WebSphere Application Server

Create successful ePaper yourself

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

Chapter 4 – Working <strong>with</strong> databases 69<br />

Figure 4.3 - The repository viewer<br />

3. At the top of the repository viewer, you can add new archives, and in the lower<br />

section you can view the current repository entries. Community Edition bundles<br />

several JDBC drivers for different DB2 versions. You can choose one according to<br />

your DB2 version. If there is no repository entry for DB2 9.7 (an entry for<br />

com.ibm.db2/db2jcc4/9.7/jar), you can add it as explained in the next<br />

steps.<br />

4. Click the Browse button to locate the JDBC driver db2jcc4.jar in your DB2<br />

installation directory (for example, C:\Program Files\IBM\SQLLIB\java on<br />

Windows). Then input a Group ID, Artifact ID, Version, and Type information as<br />

shown in Figure 4.4.

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

Saved successfully!

Ooh no, something went wrong!