Springboot 1.5x does not support velocity solutions

springboot integrates velocity, freemarker and thymeleaf templates in version 1.4. In this version, if you want to use these templates, you just need to introduce the corresponding starter pom. If I want to use thymeleaf template in my project. The basic steps are as follows: 1. Introducing starter to pom <!-- thymeleaf Template jar -- ...

Posted by rashpal on Sat, 08 Jun 2019 13:44:26 -0700

On SpringBoot's Auto-Configuration and Startup Process

I. Introduction Spring Boot simplifies the development of Spring applications. By adopting the idea that conventions are greater than configurations, it is easy to build an independent, product-level application with simplicity and simplicity. 1. Disadvantages of traditional J2EE development Development is cumbersome, configuration is complex, ...

Posted by ask9 on Tue, 04 Jun 2019 11:46:48 -0700

Edits Sequence Number Generator for out-of-box, no more code to write, you deserve it

First look at the overall effect   One of the goals of software development is to "fool" simple things.Look at the following picture:   On the left are three generators configured in application.yml, and on the right they can be injected directly into the code, note that you don't have to write any code.It's sour.Here's how it w ...

Posted by mryno on Sun, 19 May 2019 12:18:40 -0700

Date type parameters in Web requests

In web requests, it's often a headache to encounter date types, because it may involve various format issues, such as "2019-03-07 17:10:21", "2019-03-07 17:10", "2019-03-07 17:10", "2019-03-07", and even 1551949821, 1551949821000 and so on. These problems can hardly be guaranteed without docu ...

Posted by hijack on Sun, 19 May 2019 04:50:46 -0700

Design Principle of Source Code-Feign for Java B2C Springboot Electronic Commerce Platform

What is Feign? Feign is a lightweight framework for HTTP request invocation. It can invoke Http requests in the way of Java interface annotations, instead of directly invoking them by encapsulating HTTP request messages in Java. Feign templates requests by processing annotations. When actually invoked, parameters are passed in, and then applied ...

Posted by Jessup on Sat, 11 May 2019 11:31:42 -0700

SpringBoot Travel Part 6 - Starting Principles and Custom starter

I. Introduction One advantage of SpringBoot is Starter, because SpringBoot has many out-of-the-box Starter dependencies that make our development easy, and we don't need to focus too much on the configuration of the framework. In daily development, we will also customize some Starters, especially now the micro service framework, where a singl ...

Posted by kostasls on Fri, 10 May 2019 15:26:19 -0700

spring-boot-2.0.3 External story of different series - spring boot event mechanism, absolutely worth your attention

Preface This article was meant to continue discussing the springboot startup source with you, but it seems that no one has the courage to look at it anymore. Today, instead of talking about the springboot startup source, let's first look at an interesting topic. What's more, you should already know, that's the spring-boot event in the title. Ma ...

Posted by Zeradin on Fri, 10 May 2019 02:56:40 -0700

SpringBoot: Integrating Shiro's INI Authentication Paper

Preface Last article SpringBoot: A Brief Introduction to Integrated Shiro In this article, we briefly describe the basic concepts of Shiro and Shiro's internal process. Next, I will briefly describe the basic content and usage scenarios of this blog. This blog mainly talks about integrating Shiro in SpringBoot 2.0, using IN ...

Posted by rage2021 on Wed, 08 May 2019 08:30:39 -0700

[Developing a Restful service based on SpringBoot to realize the function of adding, deleting and modifying]

Preface Last year, I learned a little about SpringBoot in various channels, how convenient and fast it is to develop web projects. But I didn't study hard at that time. After all, I felt that I was not very proficient in Struts and Spring MVC. But after reading many introductions about Spring Boot, it was not as difficult as I imagined, so I b ...

Posted by mananx on Wed, 08 May 2019 04:35:39 -0700

Don't Learn Countless - Getting Started with SpringBoot VI

SpringBoot 1 Connect to the database The Spring framework helps you connect to databases by connecting from JDBC to mapping elements using JdbcTemplate.For example, Hibernate and Spring Data provide higher-level functionality, create an implementation of Repository, and use methods in the interface and mapping of specific SQL from xml files to ...

Posted by martincrumlish on Tue, 07 May 2019 02:00:39 -0700