register, beans and dao triggers