Integrating resource file with DAO