Java applications that use a database connection and the JDBC API have a distinct life cycle associated with them. Take a quick look at the different stages in a JDBC application: Figure 8.1 shows the six stages in the life cycle of a JDBC application:
Figure 8.1. Life cycle of a JDBC application. |