How Far Can We Go Series 47
Another New Year, I wonder how much you paid and how much you gained last year. Maybe you're thinking about how much bonus your boss will get. Maybe you're thinking about which company to go to next year.
It's really a good opportunity to sort it out and think about it.
At the end of the year, companies ...
Posted on Sun, 24 Mar 2019 09:57:29 -0400 by nicolam1
Spring supports attribute injection and constructor injection. It supports both XML and annotation. This paper introduces Spring control inversion container loading XML file containing beans to realize dependency injection.
I. Creating bean instances
Let's get rid of object dependencies and see how to create bean instances through the Spring ...
Posted on Sat, 23 Mar 2019 23:48:27 -0400 by melittle
In the first two chapters, we talked about the two ways of thinking about the six major patterns of design patterns, and in a few days we are looking at the third way of thinking: dependence leads to principle.
What is the principle of inversion of dependency?
Definition: High-level modules should not rely on low-level modules, both should ...
Posted on Sat, 23 Mar 2019 17:12:53 -0400 by MitchEvans
There is nothing to do lately. Make a frame to write down in a blog to get a better understanding of what you have learnt before.
Let's not say much. Let's get right to the point.
1 / Install and configure the java runtime environment
2/ Database Installation Configuration (Mysql)
3 / Install and configure the server (Tom ...
Posted on Sat, 23 Mar 2019 11:57:53 -0400 by leafer
Database optimization: postgresql partition and inheritance
In the actual project development, it is often necessary to save various operation logs, and the amount of data becomes very large over a long period of time. Therefore, when facing direct queries on these tables, it often takes a long time, thus affecting the user's exper ...
Posted on Sat, 23 Mar 2019 07:24:54 -0400 by dfego
Spring Dispatcher Servlet Initialization Details (Application Context Initialization)
The main lines of Spring's initiation are as follows:
The inheritance architecture diagram of Dispatcher Servlet is as follows:
In this inheritance architecture, HttpServletBean and Framework Servlet support spring.
HttpServletBean is Spring's lowest le ...
Posted on Fri, 22 Mar 2019 07:24:54 -0400 by skovela
aspect-oriented programming (AOP) mainly aims at extracting aspects in business process, such as log, transaction management and security, so as to reduce the coupling between business logic components, improve the reusability of programs, and improve the efficiency of development.
AOP terms are detailed in:http://www.cnblogs.com/ ...
Posted on Fri, 22 Mar 2019 06:48:52 -0400 by chatmaster
hystrix is mainly used to protect service consumers and applications. When the service requests are timed out, the corresponding processing should be made to avoid the client waiting for requests and server crash in high concurrent situations (too many requests, insufficient memory).
Next, through a case to illustrate the use of hystrix, the ca ...
Posted on Thu, 21 Mar 2019 21:45:51 -0400 by HeyRay2
The first step is to create a common spring boot project
The following methods can quickly create a boot project:
1. The browser accesses http://start.spring.io/, fills in information, downloads zip packages, and presses them directly into the workspace of your ide.
2. Use idea to automatically generate boot projects
3. Create boot p ...
Posted on Wed, 20 Mar 2019 04:51:27 -0400 by ctcmedia
This article shows you how to integrate RabbitMQ server and how to send and receive messages through it. I will build a springboot project to subscribe to a POJO-type message through the MessageListener Adapter via Rabbit Template.
Before starting the project, the machine needs to install rabbitmq. You c ...
Posted on Tue, 19 Mar 2019 22:24:26 -0400 by swizenfeld