// http://localhost:1085/Spring3HibernateOSGi/delete/41 @RequestMapping("/delete/{contactId}") public @ResponseBody String deleteContact(@PathVariable("contactId") Integer contactId) { contactService.removeContact(contactId); return listContacts(); }