User login case requirements
1. Create project, configuration file and import jar package.
2. Write logged in login.html Page.
3. Create the database userlogin and the table user.
4. Create a package com.qgl . 'domain'. Create an entity class user. The entity class user c ...
Posted by irish21 on Sun, 28 Jun 2020 17:55:56 -0700
Hadoop's Trample Notes (1)
Deploying a hadoop cluster on Centos7
Machine 1(hadoop1-ali) Ali Cloud (CentOS 7.3) 184.108.40.206
Machine 2(hadoop2-hw) Huawei Cloud (CentOS 7.4) 220.127.116.11
Where the first server serves as a namenode and the second serves as a datanode
Modify hostname and hostfile
Execute on two machines ...
Posted by maxxx on Sun, 28 Jun 2020 17:21:11 -0700
Enumeration is a new data type in JDK 1.5. With enumeration, we can well describe some specific business scenarios, such as spring, summer, autumn and winter in a year, Monday to Sunday in a week, and various colors, as well as some state information, such as error codes.
Enumeration type not only exists in Java language, but also can be found ...
Posted by pinxxx on Sat, 27 Jun 2020 23:12:24 -0700
a. You can add ...
Posted by glitch003 on Sat, 27 Jun 2020 22:26:06 -0700
The first way
The second way
Distributed high availability
Realize the change from ordinary website to short website
reference resources:Design short URL system
How are short links designed? Get ...
Posted by smarlowe on Sat, 27 Jun 2020 21:53:43 -0700
Learning any technology is a two-step process:
Setting up the environment
I'm no exception. I'll do it directly.
1, RocketMQ installation
wget https://mirror.bit.edu.cn/apache/rocketmq/4.7.0/rocketmq-all-4.7.0-bin-rele ...
Posted by muretto on Sat, 27 Jun 2020 20:44:03 -0700
Playing with Stream in Java 8
I believe you have heard about Java8 Stream, but you may not be able to use it or you are not familiar with it. This article will take you to use it from scratch, step by step, and lead you to the peak of Stream.
What are operators? Operator is a k ...
Posted by michibk on Sat, 27 Jun 2020 19:14:03 -0700
Ajax class notes
jQuery simplifies js, mainly dom operation
Find it (selector)
Do it (dom operation method)
$("div span"): a selector connected with spaces to find descendants
$("div > span"): use t ...
Posted by nomanoma on Sat, 27 Jun 2020 18:55:02 -0700
2. Import the jar package of MySQL JDBC for the project
3. Initialize driver
4. Establish a connection to the database
5. Create Statement
6. Execute SQL statement
7. Close connection
8. Use try with resource to automatically close the connection
9. Reference link
Posted by han2754 on Sat, 27 Jun 2020 02:34:49 -0700
1.Junit unit test
1. Black box test: do not need to write code, do not see the process of program execution, input some parameters, and see the expected results.
2. White box test: you need to write code, you can see the process of program execution, enter some parameters, and see ...
Posted by rolwong on Sat, 27 Jun 2020 00:05:30 -0700