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
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
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
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
In this paper, we refer to How to deploy spring boot gracefully on weblogic Mybatis is deployed on weblogic Server by using springboot.
Development tool: Eclipseweblogic version: 10.3.6.0weblogic-jdk: 1.8.0_91
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
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.
This projec ...
Posted by alcapone on Sun, 15 Dec 2019 03:07:14 -0800
SpringBoot configuration related
1. Profile injection
_In SpringBoot you can inject a configuration file with four notes:
_Centered like this in my profile application.yml
birth: 2017/12/12 ...
Posted by perpetualshaun on Sat, 14 Dec 2019 17:51:41 -0800
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)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 ...