How to define datasource in web..xml and get the datasource connection object in the java class file.