Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between a normal MVC WebApp and a RESTful webservice based Webapp  RSS feed

 
dipti ghosalkar
Greenhorn
Posts: 1
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I have gone through various links to find out what is the difference between a normal MVC based web application and a RESTful web services based web application. Also, I read somewhere that we use REST as a communication link between 2 web apps. I want answers for the following:
How can I use REST in the same web application? For example, I have on-line examination web app. How can I use REST to conduct examinations? How will it benefit me in terms of improving performance of my application?.

Thank you,
Dipti
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
REST is an architectural style for communication based on strict use of HTTP request types.

MVC is an object oriented programming architecture based on separation of the functions of Data Model, Data Presentation and Logical program flow.

There is no intersection between REST and MVC that will magically solve your problem.

If your client - servlet interactions follow the GET, POST, PUT, DELETE conventions of REST, it is automatically RESTfull - no special tools required.

If your examination web app follows MVC conventions - congratulations, you will find it much easier to add new functions/question types/ presentation etc. - That has been my experience.

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!