2. Resolution Default Label of Spring Source Analysis 2

1. Resolving default labels parseDefaultElement(ele, delegate); void parseDefaultElement(Element ele, BeanDefinitionParserDelegate delegate) { //Parsing import Tags if (delegate.nodeNameEquals(ele, IMPORT_ELEMENT)) { importBeanDefinitionResource(ele); } //Parsing alias Tags else if (delegate.nodeNameEquals(ele, ALIAS_ELEME ...

Posted on Thu, 10 Oct 2019 12:40:09 -0700 by dflow

Cookies and session s in python Django

Catalog Cookie 1.1 Get Cookie 1.2 Setting Cookie Session 1. Database Session 2. Caching Session 3. Document Session 4. Caching + Database Session Cookie 1.1 Get Cookie request.COOKIES["key"] request.get_signed_cookie(key,default=RAISE_ERROR, salt='', max ...

Posted on Thu, 10 Oct 2019 01:58:34 -0700 by Gappa

laravel5.6 Custom Background (Administrator) Logon

It can be achieved by using Laravel's own login and modifying it. Run the command line: php artisan make:auth First, we need to determine the data needed for login. I use the account encryption number (for example): 1. Create the admins data table and add the field id name number password. pu ...

Posted on Wed, 09 Oct 2019 23:14:24 -0700 by tzikis

Source Code Analysis Elastic Job Failure Transfer Mechanism

This section explores Elastic Job failover mechanisms. We know that Elastic Job is a distributed task scheduling framework based on Quartz, where the distribution is the distribution of data. Elastic Job's core design concept is that a task is executed on multiple nodes, each node processes a part of the data (task to be processed data fragment ...

Posted on Wed, 09 Oct 2019 20:50:02 -0700 by vomitbomb

[Linux Services] vsftpd File Transfer Protocol

vsftpd file transfer protocol System environment: CentOS Linux release 7.6.1810 (Core) I. Brief Introduction ftp (File Transfer Protocol) is called Very Secure FTP Server. Vsftpd is the ftp server software running on linux operating system. - vsftp provides three login modes: 1. anonymous login; 2. local user login; 3. virtual user login T ...

Posted on Wed, 09 Oct 2019 17:11:35 -0700 by c_shelswell

Spring-based declarative transactions using annotations (database operations, servlet implementations)

Implementing declarative transactions with annotations (database operations, servlet implementations) 1. Transactions: Let's see how transactions in databases are defined. That is to say, in a transaction, if many methods are invoked, either all of them are successfully executed or all of them fail to e ...

Posted on Wed, 09 Oct 2019 13:44:55 -0700 by nishmgopla

Detail mycat+haproxy+keepalived to build high availability load balancing mysql Cluster

Summary Nowadays, clustering is widely used to optimize database performance, while oracle cluster is expensive to invest in software and hardware. mysql is more recommended to use mycat to build database cluster. Here is how to use mycat+haproxy+keepalived to build a high available load balancing system belonging to mysql database. Main id ...

Posted on Wed, 09 Oct 2019 11:31:24 -0700 by smarty_pockets

Byte stream and character stream in java i/o system

How to read the file content? Through File objects, we can read the attribute information of files or folders. If we need to read the content data of files, then we need to use IO stream technology.Read and write files through streams Stream refers to a series of flowing characters. It is a first-in, fi ...

Posted on Wed, 09 Oct 2019 08:27:57 -0700 by lobo235

docker mysql container mount using-data file_configuration file

mysql container use-data file_configuration file mount Download mirroring [root@silence ~]# docker pull docker.io/mysql:5.6 [root@silence ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/mysql 5.6 95e0fc47b096 11 days ago 257 MB docker.io/mysql ...

Posted on Wed, 09 Oct 2019 05:44:00 -0700 by bloodl

Binary package installation MySQL database

1.1 Binary Pack Installation of MySQL Database 1.1.1 Pre-installation preparation (specification) 1 [root@Mysql_server ~]# mkdir -p /home/zhurui/tools ##Create the specified toolkit storage path 2 [root@Mysql_server ~]# wget http://Ftp.ntu.edu.tw/pub/MySQL/Downloads/MySQL-5.5/mysql-5.5.32-linux 2.6- ...

Posted on Wed, 09 Oct 2019 05:11:46 -0700 by richrock