Adding DB Sample for direct jdbc lookup and also for jndi lookup - wrote this mainly in the context of weblogic but with slight modifications can be used for any other server