Spring Cloud -- Spring Cloud microservice practice

1, Service provider and service consumer Using microservices to build distributed system, microservices communicate with each other through network. We use service providers and service consumers to describe the invocation relationship between microservices. noun definition Service provider The callee of the s ...

Posted by PromaneX on Mon, 01 Jun 2020 05:04:19 +0200

This problem Maven relies on, you dare say you haven't met

If Maven's dependency is not handled properly, it often leads to some problems, which is very annoying. Today I'd like to share with you a dependency related problem that you may have encountered before. Problem background There is an ES search project, which is still in good condition at the beginning. After a while, it is found that the start ...

Posted by foxy69 on Sat, 30 May 2020 11:57:00 +0200

IOC details of Spring (based on annotation)

concept IOC(Inversion of Control): the so-called inversion of control is that the application itself is not responsible for the creation and maintenance of dependent objects, and the creation and maintenance of dependent objects are in the charge of external containers. In this way, the application of ...

Posted by paulnaj on Sat, 30 May 2020 09:37:49 +0200

JDK14 performance management tool: introduction to jstack

brief introduction In the previous article, we introduced the use of jstat tool in JDK14. In this article, we will further explore the use of jstack tool. jstack tool is mainly used to print java stack information, mainly java class name, method name, bytecode index, row number and other information. More highlights: Blockchain from getting st ...

Posted by unidox on Sat, 30 May 2020 03:56:47 +0200

Source code analysis of shiro filter

I. configuration <!-- Shiro Of Web filter --> <bean id="shiroFilter" class="org.apache.shiro.spring.web.ShiroFilterFactoryBean"> <!-- Injection Security Manager--> <property name="securityManager" ref="securityManager"/> <!-- Set up login URL--> <property name="loginUrl" value="/login"/> ...

Posted by bdemo2 on Fri, 29 May 2020 18:11:48 +0200

SpringBoot essay - SpringBoot integrated Druid

1. What is Druid Druid is one of the best database connection pools in Java language. Druid can provide powerful monitoring and extension functions. 2. Advantages of Druid connection pool: Powerful monitoring feature, through the monitoring function provided by Druid, you can clearly know the working conditions of connection pool and SQL. ...

Posted by Nik on Fri, 29 May 2020 16:55:46 +0200

How does Spring Boot transform old projects quickly?

Source: KL Bloghttp://www.kailing.pub/article/index/arcid/188.html 1. Preamble Fragments Blogger's company upgraded the entire module to spring boot because of limitations in the low version of spring when using certain features in development for a project. I want to make a note here to help friends with the same scene. The whole process is ...

Posted by alsal on Thu, 28 May 2020 04:59:04 +0200

How to implement login and mutual kick in spring security oauth2

Background An account can only be logged in at one place. Similar business requirements are very common in existing post management systems. However, in the original spring security oauth2 token method process (so-called login) can not meet similar needs. Let's first look at TokenEndpoint's method flow The client accesses the / oauth/token int ...

Posted by cliffboss on Wed, 27 May 2020 10:37:55 +0200

Spring Boot integrates MyBatis Mapper (TkMybatis)

Learn to integrate MyBatis Mapper (TkMybatis) in Spring Boot. The general Mapper is a framework that can implement any MyBatis general method. The project provides normal addition, deletion, modification and query operations as well as Example related single table operations. General Mapper is used to solve 90% of the basic operations in MyBati ...

Posted by peacedesigns on Mon, 25 May 2020 05:16:31 +0200

Review of SSM environment construction

Editor: IDEA System: Win 10 Package management: maven SSM: SpringMvc,Spring,MyBatis 1, Build father son project of maven Establish the parent project review of ssm first_ ssm Then the domain, dao, service and utils sub modules are established respectively, and finally the web module built with maven's webapp skeleton is created Remember ...

Posted by KeitaroHimura on Sun, 24 May 2020 18:09:57 +0200