Mycat distributed database architecture solution -- details of schema.xml

Echo editor, welcome to reprint, reprint please state the source of the article. Welcome to add echo wechat (wechat: t2421499075) for communication and learning Never lose in a hundred battles, never claim to win, never lose in a hundred defeats, and strive to move forward. ——This is really powerful!!! This file is a system config ...

Posted on Tue, 05 Nov 2019 11:18:59 -0500 by kemu_

How does SpringBoot start?

This article is about the spring boot startup process sorted out by looking at the spring boot source code. The overall direction is to start with simplicity, not to mention too many complex things. The details of internal implementation are not covered in this article because everyone's ideas and understanding are different. My personal unders ...

Posted on Tue, 05 Nov 2019 03:20:57 -0500 by flaab

spring framework learning

What is Spring framework Spring is a J2EE system framework based on IOC and AOP IOC Inversion Of Control is the foundation of Spring. Inversion Of Control is simply to say that the creation of objects is called by the previous programmer's own new construction method, which turns into the creation of objects by Spring; DI dependency injection, ...

Posted on Tue, 05 Nov 2019 01:40:46 -0500 by wmguk

Time tuple and time date in Python

I. time tuple (time.struct_time) Time tuple is an important type in python. Through time tuple, we can get information such as month, day, hour, minute, second, day of week, day of the year, etc. Indexes attribute Attribute implication Attribute value 0 tm_year 4-digit year 0000-9999 1 tm_mon month 1-12 2 tm_mday day 1-31 3 tm_hour h ...

Posted on Mon, 04 Nov 2019 20:02:59 -0500 by We Must Design

java array definition, usage, and array memory analysis

Preface This paper is mainly from the concept of container to the concept of array to the three definitions of array and the analysis of array memory in various situations, as well as some common operations of array traversal, inversion, maximum value and so on. It aims to have a comprehensive understanding of java arrays. @[toc] 1. What is a c ...

Posted on Mon, 04 Nov 2019 19:53:34 -0500 by styler1971

Native js implementation of each method

There is an each method in jquery to simplify and facilitate circular operation.Then es produced a forEach method. Although the two methods are similar in usage, they cannot handle object types. And the continue effect cannot be achieved through return true.In addition, there is an every method. Although this method can achieve the continue eff ...

Posted on Mon, 04 Nov 2019 15:59:44 -0500 by MikeL

Spring--Bean's life cycle

Demo code Define a Man class public class Man implements BeanNameAware, ApplicationContextAware, InitializingBean, DisposableBean { private String name; public String getName() { return name; } public void setName(String name) { System.out.println("Step 2: set properties"); th ...

Posted on Mon, 04 Nov 2019 15:17:07 -0500 by Waldir

Linear interpolation animation

Linear interpolation animation DoubleAnimation: attributes of Double type can be used to produce linear interpolation animation effect ColorAnimation: a linear interpolation animation that acts on objects whose attribute is Color type, and is used to change the object's fill Color DoubleAnimation: <!--Linear interp ...

Posted on Mon, 04 Nov 2019 13:29:19 -0500 by unknown

Prototype pattern of Java design pattern (creation pattern)

Definition: prototype pattern is to use prototype instances to specify the type of objects to be created, and to create new objects by copying these prototypes. ​ In the application program, some objects are more complex, and the creation process is too complex, and we need to use the object frequently. If we new the object according to the con ...

Posted on Mon, 04 Nov 2019 12:12:49 -0500 by tracivia

Adding, deleting, modifying and querying cookies in Java

Adding, deleting, modifying and querying cookies in Java Cookie attribute Name: the name of the cookie Value: the value of the cookie maxAge: the expiration time of the cookie, which is - 1 by default value Explain negative Fail immediately after browser is closed 0 Clear cookie s now Positive number Set expiration time in s econds ...

Posted on Mon, 04 Nov 2019 10:18:26 -0500 by dalecosp