RocketMQ entry to the ground novice can also understand the principle and practice!

Learning any technology is a two-step process: Setting up the environment helloworld I'm no exception. I'll do it directly. 1, RocketMQ installation 1. Documents Official website http://rocketmq.apache.org GitHub https://github.com/apache/rocketmq 2. Download 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

Playing with Stream in Java 8 By litesky Link: http://www.jianshu.com/p/11c925cdba50 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. Operator What are operators? Operator is a k ...

Posted by michibk on Sat, 27 Jun 2020 19:14:03 -0700

Ajax class notes

Ajax class notes jQuery simplifies js, mainly dom operation Find it (selector) Do it (dom operation method) selector Basic selector $("div") $("#div") $(".cls") Level selector $("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

362. Java intermediate 17 - [JDBC] June 27, 2020

0. Directory 1,JDBC 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 1,JDBC JDBC ...

Posted by han2754 on Sat, 27 Jun 2020 02:34:49 -0700

Junit unit test and reflection

1.Junit unit test Test classification: 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

Serialization and deserialization and differences of serialization protocols

1, What is serialization and deserialization? Java serialization refers to the process of converting Java objects into byte sequences; Java deserialization refers to the process of restoring byte sequences to Java objects. 2, What does serialization do? Object persistence, which can permanently s ...

Posted by everknown on Fri, 26 Jun 2020 21:35:28 -0700

Design pattern principle

Design pattern principle 1. Overview One object should have the least knowledge of other objects The closer the relationship between class and class, the greater the coupling degree Demeter principle is also known as the least known principle, that is, the less a class knows about its own dependent c ...

Posted by evo4ever on Fri, 26 Jun 2020 21:22:54 -0700

The Way to Learn JavaSE Texts: [Object-Oriented-----------]

Catalog Chapter 1: Inheritance (Extexnds) 1.1 What is inheritance?Effect? 2.1 Inherit related attributes 3.1 Method Override (OverRide) Chapter II: Polymorphism 1.1 What is polymorphism? 2.1 Basic Grammar 3.1 instanceof operator 4.1 super keyword That's all for today's sharing!!!~ Learn together, ...

Posted by benz862 on Fri, 26 Jun 2020 17:57:47 -0700

358. Java intermediate 13 - [multithreading deadlock, interaction] June 26, 2020

0. Directory 1. Deadlock 2. Interaction between JAVA threads WAIT and NOTIFY 3. Bad solution 4. Using wait and notify for thread interaction 5. About wait, notify, and notifyAll 6. Reference link 1. Deadlock When the business is complex, deadlock may occur in multithreaded applications Thread ...

Posted by TheLoveableMonty on Fri, 26 Jun 2020 01:06:16 -0700

MySQL -- DML (add, delete and modify) language

Preface: to every reader: Hello! My name is Changlon. I'm a runner who runs on the road of programming like you, hoping to change the world and improve your life with programming. First intention of writing article: convenient for review later, convenient for future interview, make more friends, exchan ...

Posted by eflopez on Fri, 26 Jun 2020 01:03:18 -0700