The Simplest Spring Cloud Tutorial in History | Chapter 8: Message Bus
For reprinting, please indicate the source:
Spring Cloud Bus connects distributed nodes to lightweight message brokers. This can be used for broadcasting configuration file changes or other management work. One of the key ideas is that message bus can monitor micro services or communicate with each other as applications. This article describes ...
Posted by gerbs987 on Mon, 08 Jul 2019 21:36:31 +0200
Generating and parsing json using JSONObject
1. json data type
type
describe
Number
Digital type
String
String type
Boolean
Boolean type
Array
array
Object
object
null
Null value
(1) json does not distinguish between integer and decimal types, but uses Number to store numbers.
(2) Array represents an array, enclosed in brackets "[]", separated by commas between ...
Posted by worldworld on Mon, 08 Jul 2019 02:07:54 +0200
Submit a pitless version of library to jcenter (no pit expiration date: tentative end of 2017)
Step 1: Log on to Bintray.com
Step 2: Register (pit 1: click sign up here, don't click on the big green button, otherwise fall into the pit; pit 2: registered mailbox qq q and Netease can't, outlook can)
Step 3: Click edit
Step 4: Click on key
Step 5: Enter the login password
Step 6: Click on the item (copy button) and temporarily ...
Posted by moiseszaragoza on Thu, 04 Jul 2019 21:16:39 +0200
Maven typed in local and remote libraries, used in ecpliseidea
Other blogger posts: http://blog.csdn.net/dhmpgt/article/details/9998321
Maven
Tools for managing project jar packages automatically download the corresponding jar packages from the server library to the project based on the configuration file.
Prepare the file:
install
1) Unzip repository to D:/maven/repositoryserver as Maven loca ...
Posted by lostcarpark on Wed, 03 Jul 2019 18:29:10 +0200
Spring Boot [How to Document Elegantly]
Guidance:
Interface documentation is often used when working together as a team. Often we write a lot of documents in repetitive formats by hand, which reminds me of two things programmers hate most: writing documents without them.Ha-ha, if you've used swagger, your friends should know all about its convenience. If you haven't used swagger yet, ...
Posted by PBD817 on Tue, 02 Jul 2019 18:44:16 +0200
3 Hours Quick Start RocketMQ
Recently, RocketMQ has just started its production environment. In your spare time, share something here. The main purpose is for beginners to get started with RocketMQ quickly.
What is RocketMQ
Introduction to RocketMQ on Github:RcoketMQ is a message middleware with low latency, high reliability, scalability and ease of use.It has the followin ...
Posted by Ju-Pao on Mon, 24 Jun 2019 19:47:57 +0200
spring annotation development: how components are registered in containers
1. Package Scan + Component Label Comments
The following comments are used, mainly for classes written by you
@Controller
@Service
@Repository
@Component
@ComponentScan
Reference resources spring Annotation Development: ComponentScan Component Scan 2. Use bean annotations
Main usage scenario: Import components from third-party p ...
Posted by poppy28 on Mon, 24 Jun 2019 19:39:28 +0200
MyBatis Source Learning Environment Preparation
The video of the open class below has been recorded and the students who need it can leave a message
MyBatis, an excellent persistence layer ORM framework with a wide range of applications, has become an almost standard part of the Java Web world, supporting customization of SQL, stored procedures, and advanced mappings.MyBatis a ...
Posted by m0rpheu5 on Fri, 21 Jun 2019 18:27:24 +0200
Handwritten Spring mvc framework
Handwritten Spring mvc framework
1. Dependency Management Tools
Maven,Gradle
Advantage:
Automated Management Dependency (jar package)
Resolve Dependency Conflicts
Packaging (mvn clean package)
Characteristic:
Contract greater than configuration
For example, src is the agreed code directory
The same project can have many modules, each bui ...
Posted by wazo00 on Thu, 20 Jun 2019 18:14:48 +0200
Build spring web mvc REST style HelloWorld in 5 minutes
2019 Unicorn Heavy Gold Recruitment Python Engineer Standard >>
Of course, the goal of this article is not to be speed, bu ...
Posted by rheroux on Thu, 13 Jun 2019 19:36:38 +0200