Current location - Health Preservation Learning Network - Healthy weight loss - Spring shoe principle
Spring shoe principle
Template engines are often used in the front end, mainly FreeMarker and Thymeleaf, which are written in Java language, render templates, output corresponding texts, and separate the logic of interface design from application, as well as Bootstrap, AngularJS, JQuery and so on. It is also used for front-end development.

Json, non-xml and RESTfulAPI are adopted in the data transmission format of the browser. After the data arrives at the server, use the SpringMVC framework to process the request; For the data access layer, there are mainly persistence layer frameworks such as Hibernate, MyBatis and JPA. MySQL is usually used in databases; IntelliJIDEA is recommended as a development tool.

Extended data:

Springboks have the following characteristics:

(1) can create independent Spring applications, and based on its Maven or Gradle plug-ins, you can create executable jar and WARs;;

(2) Embedded Servlet container, such as Tomcat or Jetty.

(3) Providing an automatically configured "starter" project object model (POMS) to simplify the configuration of Maven;

(4) Configure the Spring container as automatically as possible;

(5) Provide prepared features, such as indicators, health check and external configuration;

(6) There is absolutely no need for code generation and XML configuration.

The original intention of spring:

The development of 1 and JAVA EE should be simpler.

2. Using interfaces instead of classes is a better programming habit. Spring reduces the complexity of using interfaces to almost zero.

3. It provides a better application configuration framework for JavaBean.

4, more emphasis on object-oriented design, rather than the current JAVA EE and other technologies.

5. Minimize unnecessary exception capture.

6. Make the application easier to test.

Baidu Encyclopedia -spring Framework

Baidu encyclopedia -Spring Boot