MVC stands for Model View Controller:
Model
This is where you put all the data, it holds everything that a page needs to be a page, i.e. This would get all the data for the page not in any specific order but just what is needed for the page.
View
In the model you get everything you need for the page but right now its just data, the view would sort that data and put it where it needs to be, i.e. In spring MVC you use JSP which is a html / Java language so you would use html to make the look of the page and Java to get the data from the model and put it in the right place. plus any other language you might want to use i.e. Javascript, CSS, JQuary etc.
Controller
This is a POJO (plain old Java object), simple Java classes that preforms everything needed for the page to build a model.Advantage of Spring MVC
Spring MVC uses POJO this means that it uses a already established language that has countless functionality that can all be used without rebuilding for spring, this means if you have an application built in Java that works it will work in spring MVC.Disadvantages of spring
One of the biggest disadvantages with spring MVC is also the biggest advantage, it uses POJO. Most server providers see this as being a vulnerability, because it is. So if you want to have a POJO server you would need to host your own server that can run spring MVC.
that's expensive and pointless, its currently being worked on i.e. server OS are currently working to limit the java to to prevent exploitation. another is because of the lack of support not many companies consider it, so theirs not a lot of information readily available people who want to know.
that's expensive and pointless, its currently being worked on i.e. server OS are currently working to limit the java to to prevent exploitation. another is because of the lack of support not many companies consider it, so theirs not a lot of information readily available people who want to know.

No comments:
Post a Comment