spring mvc project template using hibernate based on xml config