Chapter 3. General Application Design
In this chapter, we will focus on the following recipes related to advanced application development:
Improving concurrency by using a connection concentrator
Using trusted contexts for improved security
Using trusted connections in JDBC
Using trusted connections in PHP
Securing data using DB2 encryption
Improving concurrency by using enhanced optimistic locking
Working with user-defined types (UDT)
Working with structured types
Introduction
In this chapter, we will look at some advanced techniques that can be used to design efficient applications. We will see how we can improve security in 3-tier architecture applications. We will also look at the various methods of data encryption provided by DB2. Thereafter, we will see how we can extend the data type support provided by DB2 and apply them in our application design.