Forums Register Login

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

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
If you want to look young and thin, hang around old, fat people. Or this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 10295 times.
Similar Threads
How to conserve the state with REST
technology to interface with legacy web application
another design pattern ambiguity
NX: URLy Bird 1.3.1 Connection Factory Design
can One webapp contain Spring MVC and Spring RESTFul services
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:22:52.