This article provides tutorial notes on using DataSource objects and JNDI to connect Java DB (Derby) Database. Topics include creating connections with ClientDataSource objects directly without JNDI; downloading and installing JNDI File System Service Provider; Binding ClientDataSource objects to JNDI names; Looking up ClientDataSource objects through JNDI.