Java implimentation of a Book class using Java Spring and JDBCTemplates