How is the Tomcat container built into SpringBoot started?

1. Start with the main method Anyone who has used SpringBoot knows that it is started by a main method @SpringBootApplication public class TomcatdebugApplication { public static void main(String[] args) { SpringApplication.run(TomcatdebugApplication.class, args); } } After entering the run method, it is found that the final ...

Posted by Hiro on Fri, 01 Apr 2022 17:29:11 +0300

Framework technology springBoot -- restful architecture style [vue cooperates with springBoot]

SpringBoot framework SpringBoot interface architecture style ---- RESTful Take a little more time to share. SpringBoot is ready to start the review of computer foundation [Computer Foundation + Project + algorithm - algorithm problems will be briefly shared under each computer foundation in the future]; The project will be carried ...

Posted by jrws on Fri, 01 Apr 2022 07:13:34 +0300

Analysis of log components commonly used in Springboot

Slf4j The full name of slf4j is simple login facade for Java. It is just a unified interface that provides log output for Java programs. It is not a specific log implementation scheme. Like JDBC, it is just a rule. Therefore, slf4j alone cannot work. It must be combined with other specific log implementation schemes, such as Apache's org. Log ...

Posted by LAEinc. Creations on Fri, 01 Apr 2022 01:13:56 +0300

Spring Boot e-commerce project 53: order module 2: [foreground: create order] interface; (this interface is complex and contains many contents)

explain: (1) The content of this blog: develop the [front desk: create order] interface; (2) There are many contents in this blog, and we should pay attention to the following points: ● clarify the idea and process of [create order]; ● in order to realize the same service, the specific coding logic may be different; However, with the im ...

Posted by jeffwhite on Thu, 31 Mar 2022 19:09:11 +0300

Map + functional interface method to solve if else

Click to follow 👉   2022-01-25 10:33 659 source codes included in topic # taro Click "taro source code" above and select“ Set as star" Whether she's ahead or behind? A wave that can wave is a good wave! Update the article at 10:33 every day and lose 100 million hair every day Source code boutique column Orig ...

Posted by cgm225 on Thu, 31 Mar 2022 10:54:41 +0300

Shiro learning chapter - spring boot simple integration Shiro

1. Introduction to Shiro 1.1. What is shiro Apache Shiro is a Java Security (permission) frameworkShiro can easily develop good enough applications, which can be used not only in Java se environment, but also in Java EE environmentShiro can complete authentication, authorization, encryption session management, Web integration cache, etcDo ...

Posted by godyn on Thu, 31 Mar 2022 07:26:54 +0300

Swagger (won't come to kan me)

1. General Swagger: normalize the document. Automatically generate API documents by adding annotations to the API. API and documentation are connected Swagger is a normative and complete framework for generating, describing, invoking and visualizing RESTful Web services~ 2. Quick start The example code corresponds to the ...

Posted by bigsexychris on Thu, 31 Mar 2022 06:38:28 +0300

Learn more about Spring RESTful Controller

1. Basic concept of Servlet Servlet is a Java program running on the server side. It can accept HTTP requests initiated by the client and dynamically generate page content. It has been almost completely bound with HTTP communication protocol, so our commonly used term servlet is the abbreviation of "HTTP Servlet". Servlet provides sp ...

Posted by kutyadog on Wed, 30 Mar 2022 08:45:39 +0300

SpringBoot unified exception handling

SpringBoot unified exception handling 01. Analysis Unified jump: / error this is a global mechanismConfiguration class: supplementary state jump - local mechanismCustomize the way of the page, so that we can put error HTML can be stored at will Question: In fact, the increased workload for development,If the specific exception information i ...

Posted by timbuckthree on Wed, 30 Mar 2022 04:28:58 +0300

java concurrent programming tool class JUC Part 3: DelayQueue delay queue

DelayQueue is the implementation class of BlockingQueue interface. It determines the processing priority of the elements in the queue according to the "delay time" (that is, it is sorted according to the "delay time" of the queue elements). Another implication is that only those elements that exceed the "delay time&qu ...

Posted by Kelset on Wed, 30 Mar 2022 03:35:16 +0300