Another new feature of the ApiBoot interface service framework
What is the concept of global logging?
It's easy to understand. Like one of the parts of the logging framework we've always used like logback and log4j, the minbox-logging distributed logging framework is now independent of api-boot-plugins and has joined the minbox-projects open source organization. The blog has a series of articles explainin ...
Posted by xSN1PERxEL1TEx on Tue, 17 Dec 2019 18:12:12 -0800
SpringBoot + mybatis multiple data sources
1. Create project
For Eclipse platform, spring tool suite is installed
File - > New - > other - > spring boot - > spring starter project - > select jdk and other information - > Click Web, select Web, click SQL, select JPA, Mybatis, MYSQL, click next, Finish.
2. Document editing
2.1 modify pom.xml
C ...
Posted by shdt on Tue, 17 Dec 2019 15:18:11 -0800
The Use of SpringAOP in web Applications
Previously, aop was notified by manually creating proxy classes, but in daily development, we don't want to hard-code these proxy classes in code. We prefer to use DI and IOC to manage aop proxy classes.Spring provides us with the following ways to use the aop framework
1. Configuring AOP declaratively (that is, using an xml configuration file) ...
Posted by bjdouros on Tue, 17 Dec 2019 12:16:41 -0800
Research on Spring transaction configuration
I. configuration and analysis of spring+mybaits xml in the project
Generally, we will configure in datasource.xml as follows, but the principle and purpose of each configuration item is not so clear. If not clear, there will be a pit in use, so we will explain these configuration items one by one
(1)Configure data sources
<bean id="dataS ...
Posted by Courbois on Tue, 17 Dec 2019 10:26:15 -0800
How to deploy Mybatis on weblogic in spring boot integration
introduce
In this paper, we refer to How to deploy spring boot gracefully on weblogic Mybatis is deployed on weblogic Server by using springboot.
Environmental Science
Development tool: Eclipseweblogic version: 10.3.6.0weblogic-jdk: 1.8.0_91
Technology realization
Create Maven project and add it to pom file
<project xmlns="http://maven.apac ...
Posted by chuckjones on Sun, 15 Dec 2019 12:28:55 -0800
Clustered Quartz Timing Task Framework Practice
In the daily development summary, you often encounter scenarios that require timed tasks. Simple, you can use Spring's timed task scheduling framework or Quartz.Either way, there is a problem that needs to be solved, that is, the cluster problem.Typically, a timed task can and can only run on one application instance.
premise
This projec ...
Posted by alcapone on Sun, 15 Dec 2019 03:07:14 -0800
SpringBoot profile injection related
SpringBoot configuration related
1. Profile injection
_In SpringBoot you can inject a configuration file with four notes:
@ConfigurationProperties
@Value
@PropertySource
@ImportResource
_1.@ConfigurationProperties usage
_Centered like this in my profile application.yml
person:
lastName: hello
age: 18
boss: false
birth: 2017/12/12 ...
Posted by perpetualshaun on Sat, 14 Dec 2019 17:51:41 -0800
Introduction to springboot aop
Step 1: add dependency
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
Step 2: define a tangent class
package com.example.demo.aop;
import java.lang.reflect.Method;
import java.util.Arr ...
Posted by morphy on Sat, 14 Dec 2019 09:22:22 -0800
Spring Cloud Part 7: declarative service call Feign
This is the seventh article of Spring Cloud column. Understanding the contents of the first six articles helps to better understand this article:
Introduction to Spring Cloud and its common components
Spring Cloud Part 2 use and know Eureka registry
Spring Cloud Part 3: building a highly available Eureka registry
Spring Cloud Part 4: c ...
Posted by eyekkon on Sat, 14 Dec 2019 02:46:02 -0800
SpringCloud Distributed Microservice Cloud Architecture Part 5: Routing Gateway (zuul)(Finchley version)
SpringCloud Distributed Microservice Cloud Architecture Part 5: Routing Gateway (zuul)(Finchley version)In the micro-service architecture, several basic service governance components are needed, including service registration and discovery, service consumption, load balancing, circuit breaker, intelligent routing, configuration management, etc ...
Posted by wpsa on Fri, 13 Dec 2019 10:31:35 -0800