Home > Back-end >  How to distinguish the project framework
How to distinguish the project framework

Time:05-26

Is to ask you, how to distinguish the project springboot or for springmvc, didn't understand the difference, have distinct local project code, you can see what frameworks do

CodePudding user response:

We can see the project depend on if you have org. Springframework. The boot is springboot, also can see the configuration file, most of the configuration file for springmvc is & lt; Bean> , is in the springboot. The properties or yaml, yml

CodePudding user response:

For springMVC framework, design idea, the Model, View and Controller
SpringBoot just quickly create project kit or scaffolding, itself has no any framework and design ideas,
Traditional way: found on the web for springMVC need are related to the Spring jar package, and then manually added to the project rely on in your project's lib directory, and then reach a war file, deployed in tomcat startup
SpringBoot: through automatic configuration, the built-in tomcat, a jar package, run the main program springapplication, start the service directly, usually through maven build project, by pom. The XML configuration items used in the jars, then springBoot management,
  • Related