DentalRec with Javaconfig