Background management of layui - detailed explanation of table data table

1. Introduction to layui Layui is a front-end UI framework written with its own module specification. It follows the writing and organization form of native HTML/CSS/JS. The threshold is very low. It is very suitable for the rapid development of the interface. Unlike those UI frameworks based on MVVM, layui does not need complex configuration o ...

Posted on Tue, 23 Jun 2020 03:23:22 -0400 by djdog.us

Java, JDBC core technology, transaction, thread pool

Article catalog JDBC core technology 1, Overview 1. Data persistence 2. Data storage technology in Java 3. Introduction to JDBC 4. JDBC architecture 5. JDBC programming steps 2, Get database connection 3, PrepareStatement 1. Operation and access to database 2. Disadvantages of using Statement to ...

Posted on Tue, 23 Jun 2020 03:15:26 -0400 by Chris-the dude

Site building tutorial from 0

Write in front I planned to write a website building tutorial a long time ago. As the end of the term has been delayed until now, the memory of website building has also been blurred because of the test points. However, I try to build a website step by step from 0 and solve the problems. Final results ...

Posted on Tue, 23 Jun 2020 00:47:33 -0400 by FredAt

Concurrent programming: how to use locks in java?

The depth of Java lock When multiple requests operate the database at the same time, first change the order status to paid, and add 200 to the amount, which will cause duplicate notifications under the concurrent scenario query condition. SQL: Update Pessimistic lock and optimistic lock Pessimistic ...

Posted on Mon, 22 Jun 2020 01:44:27 -0400 by CantonWeb

mycat Read-Write Separation+Base Subtable+Global Table

1. mycat Read-Write SeparationMycat's read-write separation is based on the master-slave replication of Mysq #Modify ProfileSchema.xml <?xml version="1.0"?> <!DOCTYPE mycat:schema SYSTEM "schema.dtd"> <mycat:schema xmlns:mycat="http://io.mycat/"> <schema name="TESTDB" checkSQLschema="false" sqlMaxLimit="100" data ...

Posted on Sun, 21 Jun 2020 18:01:58 -0400 by fellixombc

springboot Integrated CAS for Single Sign On

Recently, new projects have used CAS single sign-on, and I won't, how can I tolerate it?Learn nothing and build a demo for spring-boot integrated CAS.Single sign-on and sign-out are implemented. Single Sign On is the full name of SSO.Meaning: In multiple trusted systems, as long as you log in to one system, other systems can access it. CAS It i ...

Posted on Sun, 21 Jun 2020 14:05:25 -0400 by bonzie

MyBatis Series Part 5: MyBatis cache

  1. What is MyBatis caching? Using MyBatis cache can reduce the number of interaction between java application and database. From this point of view, its benefits are the same as using MyBatis to delay loading, which can improve the running efficiency of the program to a certain extent. For exampl ...

Posted on Sun, 21 Jun 2020 02:58:54 -0400 by springo

5, Factory mode

Take the pizza shop as an example: You can order pizza in the pizza store; According to the requirements of customers, pizza produces different flavors. Simple factory and static factory Simple factory is not a design pattern, but a programming pattern; but it is often used. Simple factory: Pizz ...

Posted on Sat, 20 Jun 2020 03:06:27 -0400 by TechMistress

Using Flink Metric Reporter to monitor flink task indicators

Since flink1.8, the reporter supports writing index data to influxdb, and users can read the data in influxdb for visualization. But for small and medium-sized companies, most of them don't choose self-developed visualization because of the cost. We choose grafana for the visualization of flick metrics. ...

Posted on Sat, 20 Jun 2020 01:41:30 -0400 by lurius

Single mode and factory mode

Design pattern 1.Singleton mode The singleton pattern ensures that there is only one instance of a class, which can not be obtained directly through the new object. Single case mode (starved Han mode): /** * @author xiaobai */ public class Singleton { static Singleton instance=new Singleton(); ...

Posted on Sat, 20 Jun 2020 01:22:49 -0400 by boogybren