Spring+hibernate+derby to created an restful web service project.