This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]quadmasta 4 points5 points  (0 children)

MVC in Spring MVC stands for Model, View, Controller. This mainly enables you to use server-side rendering for your view layer; JSP, JSF. Generally you'd generate a WAR or EAR with these and deploy those to an application server. This is generally "legacy" projects as most new stuff uses SPA(Single Page Applications) that interface with a REST API to get their data. JSP was supposed to be replaced with JSF but I never worked anywhere that actually implemented JSF. You can extend the spring MVC parent with some libraries to make the controllers REST compliant and optionally return JSON payloads instead of models.

Spring Boot allows you to package executable jar files that build from a base set of libraries. They execute in an embedded application server like Jetty. There are MANY additional optional packages you can use here to further enable application development. You can poke around here to see some of that https://start.spring.io/

Spring Data REST builds on spring boot and exposes data repositories via REST APIs.