Let's start with the conclusion
Send message: 1000 messages will be sent by default
sh bin/tools.sh org.apache.rocketmq.example.quickstart.Producer
sh bin/tools.sh org.apache.rocketmq.example.quickstart.Consumer
The above two commands need to be executed in the installation directory of RocketMQ, and the environment vari ...
Posted on Sun, 17 Oct 2021 00:57:29 -0400 by mcfmullen
Detect whether there is a Java environment in the current system
[root@Server /]# java -version
#If it exists, you need to remove the environment and reinstall it
View the current jdk information. If not, it will not be output
Posted on Sat, 16 Oct 2021 15:08:45 -0400 by gijs25
1. Introduction to Spring
Spring is an open source design-level framework. The solution is the loose coupling between the business logic layer and other layers, so it will run through the whole system application with Interface-oriented programming ideas. Spring features: 1. Easy decoupling and simplified development 2. Support for AOP program ...
Posted on Sat, 16 Oct 2021 14:23:44 -0400 by Nukedesign
A set of Android messaging mechanism / asynchronous communication mechanism.
In the multi-threaded scenario, the sub thread needs to transfer the update UI operation information to the main thread to realize the processing of asynchronous messages.
There are two ways to use:
One is to realize asynchronous ...
Posted on Sat, 16 Oct 2021 13:36:22 -0400 by dean7
Hello, guys, I'm running snail rz. Of course, you can call me snail Jun. I'm a rookie who has studied Java for more than half a year. At the same time, I also have a great dream, that is, to become an excellent Java Architect one day. This Spring basic learning series is used to record the whole process of learning the basic knowle ...
Posted on Sat, 16 Oct 2021 13:07:39 -0400 by scratchwax2003
Introduction to binary sort tree
Creation of binary sort tree (addition of nodes)
From the definition of binary sort tree, its premise is binary tree, and it is defined in a recursive way. Its nodes meet a partial order relationship. The value of the root node of the left child tree must be smaller than that of the parent node, and the valu ...
Posted on Sat, 16 Oct 2021 03:49:47 -0400 by marconi8
1. Simple factory pattern definition
Provides a function of creating object instances without caring about their implementation. The type of the created instance can be an interface, an abstract class, or a concrete class.
2. The simple factory contains the following roles
CarFactory: a simple factory for producing cars The simple f ...
Posted on Sat, 16 Oct 2021 03:05:59 -0400 by gassaz
Whether programmers work, study, or things in life. Can follow such a principle: "do simple things repeatedly, and do the right things repeatedly." such efforts will make you go on the right path and avoid many detours. From a young driver to an old driver.
In the previous section, you should have mastered the capacity expansion ...
Posted on Sat, 16 Oct 2021 00:35:41 -0400 by dnoonan
Interpretation of tomcat source code (I)
What is tomcat?
Tomcat By Apache Software Foundation Jakarta A of project development Servlet Container, per Sun Microsystems Technology provided
Specification, which realizes the Servlet and JavaServer Page(JSP)Support and provide as Web Some unique features of the server, such as Tomcat
Posted on Fri, 15 Oct 2021 23:42:57 -0400 by le007
Original published on https://seriouszyx.com/archives/36/
Recently, I participated in some open source projects, involving issues related to version distribution. I didn't see detailed and outdated tutorials, so I investigated and explored myself and summarized this article.
This paper mainly refers to Official documents Write and de ...
Posted on Fri, 15 Oct 2021 22:34:59 -0400 by MiniMonty