2. Create Maven Web Application Project

You can create a quick start Java web application project by using the Maven maven-archetype-webapp template. In a terminal (*Unix or Mac) or command prompt (Windows), navigate to the folder you want to create the project.

7. Create Services - UserService.java and UserServiceImpl.java

In order to demonstrate jersey and spring integration, let's create a UserService interface and it's implementation UserServiceImpl class. Autowire or inject UserService interface in UserResourceclass and use it.

6. Conclusion

This guide illustrated how to the integration of Jersey Framework with Spring Framework by developing CRUD rest API.In the next guide of the series, we will focus on more Jersey rest examples, concepts, and more.All the code of this article is available over on Github. This is a Maven-based project, so it should be easy to import and run as it is.