Using Spring and Jersey together
问题 I want to create a small standalone RESTful API web-app which I can deploy. I want to use Spring for dependency injection and Jersey for the RESTful stuff. Is this something that can be done? Or should I be using whatever RESTful features that Spring uses? If using both Spring and Jersey together makes sense, how do I combine them? What does my web.xml need to have in it? 回答1: integration is quite easy. you can find a lot tutorial on net. see example here 回答2: Well I just worked on the same