This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RESTful Web Services supports only bottom-up(approach) ?

 
kri shan
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whether RESTful Web Services supports only bottom-up(approach)- creating java binding classes first then expose it as a WebService because no need of WSDL-SOAP bindiing and type checking thru XSD?
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Theoretically, both WADL and WSDL 2.0 can be used to describe RESTful web services.
As far as I have seen, practical use is limited, as is tool support.
There are a number of other options in, for instance NetBeans, that allow you to create a RESTful web service from an entity class, a database table etc etc. Perhaps these may be considered as different compared to the bottom-up approach you describe.
Finally, I still find the use of XML schemas in connection to RESTful web services perfectly valid. In some cases, you may require stronger checking of message payloads than JSON schema can offer.
Best wishes!
 
kri shan
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Finally, I still find the use of XML schemas in connection to RESTful web services perfectly valid. In some cases, you may require stronger checking of message payloads than JSON schema can offer.

How XML schemas in connection to RESTful web services without SOAP bindings in RESTful web services ?
 
kri shan
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ivan, Any udpate ?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic