Unit 3 - Java Database Connectivity
Unit 3 - Java Database Connectivity
Unit 3 - Java Database Connectivity
1. Overview of JDBC
– High level architecture of JDBC and the driver
model
– Four different driver types
– Differences between 2-tier and multitier models
2. Connection Pools
3. DataSources and Transactional
DataSources
What is JDBC?
1. Overview of JDBC
2. Connection Pools
– Connection Pools and How they work
– Advantages of Using Connection Pools
– Creating and configuring Connection Pools
3. DataSources and Transactional
DataSources
What is a Connection Pool
1. Overview of JDBC
2. Connection Pools
3. DataSources and Transactional DataSources
– Describe a DataSource and how it works
– Describe a transactional DataSource
– Use the Administration Console to create a DataSource or
transactional DataSource
– Configure JDBC Logging
What is a DataSource?
• A Tx Data Source:
– Enables support for JTA
– Is required for distributed Transactions
• When to enable global transactions:
– Use the Java Transaction API (JTA)
– Use the EJB container in JBoss Server to manage transactions
– Include multiple databases updates within a single transaction
– Access multiple resources, such as a database and the Java Messaging
Service (JMS), during a transaction
Creating DataSources