Question - List the advantages of using DataSource?
Answer -
Data source is dividing work among administrator and programmer/developer.
The administrator creates a DataSource object and ties up it with JNDI registry. A programmer/ developer retrieves the DataSource object from the registry. Then it will establish the connection with the database.