Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt with REST Resource in Spring  RSS feed

Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a Web Service Resource class using Jersey and now want to do the same in Spring. But i had a doubt. If i put all those annotations like @GET @Produces etc in My Service, how come i access these services from my Controller. Because i already use some annotations like @RequestMapping etc. Does it clash with Spring Annotations or else it works good.
Since migrating the plain Web Services to Spring is tedious process i want to clear this.
The overall mission is to change the world. When you've done that, then you can read this tiny ad:
ScroogeXHTML 7.2 - RTF to HTML5 / XHTML converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!