Configure a Data Source Spring offers several options for configuring data-source beans in your Spring application, including these: Data sources that are defined by a JDBC driver Data sources that are looked up by JNDI Data sources that pool connections For production-ready applications, I recommend using a data source that draws its connections from a connection pool.