simple data access framework written in java