© Copyright IBM Corp. 2008. All rights reserved. 213
Chapter 5. Deploying pre-configured
databases
In this chapter we describe how to deploy the pre-configured databases with your
application.
We present two different ways to create the database, by using DDL statements
or by using a backup image. We take a look at different ways to populate the
database and explain how to upgrade an already existing database.
Throughout the chapter we show how to do these tasks in two different execution
environments, which are shell scripts and Java applications.
In this chapter we assume that the communication between the DB2 server and
the client from where we are deploying the pre-configured database is in place.
That is, we assume that we have the user rights and connectivity required to
execute our scripts and applications. We do not cover issues such as security,
connectivity, or user rights.
5