Change AbstractNoteDAO to DocumentNoteDAO and make it concrete.
Apply singleton to DAO classes.
Move unnecessary method calls in BookNoteDao to DocumentNoteDao.