Tejas Patel
Tejas Patel

Reputation: 117

Creating web services in spring mvc 2.5

My project is in spring mvc 2.5 and MySQL as db. Now I want to create a REST web services for this project and expose some of the methods. Can any one help me which approach to follow? I have read several ways so I am totally confused now.

How about spring ws, is it proper way? If yes then can you provide me some useful links for that? or if there is some other way then please anyone can provide me some useful links for the same?

Upvotes: 0

Views: 2772

Answers (1)

skaffman
skaffman

Reputation: 403441

How about spring ws, is it proper way?

No. Spring-WS is for building SOAP web services, not REST.

Plain Spring MVC provides ways to build REST-style web services. See 2.5.6.1 Comprehensive REST support

Upvotes: 2

Related Questions