Appendix B. Answers to Quiz Questions

Day 1

1:

What’s a local application? What’s a remote application?

A1:

When you’re running an application on the server where the database is located, it’s referred to as a local application. The application could be using the Control Center, the command line, or an ODBC application. If you’re running an application on the server but accessing a database located on a different machine, you’re running a remote application. If you are on a client machine, you can run only remote applications because you can’t have databases on a client machine.

2:

What are the two ways to use Java Database Connectivity to access DB2 data?

A2:

You can create JDBC applications or applets to access DB2 data. If you’re using an applet, ...

Get Sams Teach Yourself DB2® Universal Database™ in 21 Days, Second Edition 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.