Meaningless Drivel is fun!*
The moose likes Spring and the fly likes Use of REST with Spring. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Use of REST with Spring." Watch "Use of REST with Spring." New topic
Author

Use of REST with Spring.

kamal krishna bhatt
Ranch Hand

Joined: Apr 26, 2011
Posts: 41

Hi i am new to REST, i am trying to develop an application in which we need to use REST with spring framework i want to ask should i go with using WSDL with this as we do for SOAP applications or does spring framework provides something similar.
I also need to expose the methods to different client applications with SOAP we do it using WSDL, how to proceed with spring and rest.
I know WSDL can be used with REST as well but i want to know if there is ant standard way while using REST with spring framework.
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

SOAP and REST are very different. You will find REST is much simpler. It also has great support in Spring 3.x. Have a look these links to get you started.

http://www.baeldung.com/2011/10/25/building-a-restful-web-service-with-spring-3-1-and-java-based-configuration-part-2/
http://blog.springsource.org/2009/03/08/rest-in-spring-3-mvc/
http://blog.springsource.org/2009/03/27/rest-in-spring-3-resttemplate/

[How To Ask Questions][Read before you PM me]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Use of REST with Spring.
 
Similar Threads
designing a web application
webservices with Spring framework
REST vs SOAP - stateful/stateless
SOAP vs REST
Learning Spring