Java postgresql example. Configuring the data source object.