Learning spring jpa and spring mvc