RabbitMQ and SpringBoot integration

To integrate RabbitMQ with SpringBoot, first we need to create a new SpringBoot project, which is divided into two sub modules: producer and consumer. Then we need to introduce related RabbitMQ dependencies, as follows: <dependency> <groupId>org.springframework.boot</groupId> < ...

Posted on Fri, 26 Jun 2020 00:47:20 -0400 by Roman Totale

Android build process - Part 2

Android build process - Part 2 Pre operation task list How to view a task class Task1: checkDebugClasspath 1. input/output 2. How to find the task implementation class 3. Core class (AppClasspathCheckTask) Task2: preDebugBuild 1. input/ouput 2. Core class (AppPreBuildTask) Task3: compileDebugAidl ...

Posted on Thu, 25 Jun 2020 22:42:13 -0400 by jason102178

04. Relative Layout of Android Development Foundation

Relative Layout of Android Development Foundation Relative layout, that is, the layout with reference objects.When we were young, we went to school, between classmates and classmates, who was on whose right and who was on whose left!This is for whom!The relative layout in Android is the same! There are two kinds, one is relative to the fathe ...

Posted on Thu, 25 Jun 2020 12:33:12 -0400 by pillot1005

Source code analysis of Zhiyu dubbo

dubbo source code analysis file dubbo load profile dubbo service provision 1. Verify configuration information 2. Create URL 3. Local registration 4. Remote registration 4.1 enable netty server 4.2 connect to the registration center zk and write information 4.3 monitoring Registration Center dubbo ...

Posted on Thu, 25 Jun 2020 07:08:24 -0400 by jahwobbler

Spring 7 -- developing spring based on annotation

Developing spring based on annotation There are two forms of spring IOC containers: (1) XML configuration file: applicationContext.xml ; Save bean: < bean > Take bean: ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml"); (2) Annotation: class with @ Configuration annotation (Configuration class) De ...

Posted on Wed, 24 Jun 2020 23:02:23 -0400 by sunil.23413

Property Injection

Injection in springboot Basic Property Injection @Value Object Mode Injection @ConfigurationProperties Comparison of two injection modes Injection Details Profile Injection Value Data Check@Validated Load the specified configuration file @PropertySource Import Spring's Configuration File@ImportResou ...

Posted on Wed, 24 Jun 2020 22:41:17 -0400 by RonDahl

Servlet learning notes

Three configuration modes of Servlet Mode 1: precise configuration Must be in exact path, plus / SOS to access For example: http://localhost:8080/ServletProject/SOS <url-pattern>/SOS</url-pattern> Mode 2: fuzzy configuration As long as it ends with. do, you can access For example: htt ...

Posted on Wed, 24 Jun 2020 22:34:01 -0400 by kb9yjg

3: 08: Android DataBinding from entry to advanced

Data binding is a framework officially released by Google. As the name implies, it is data binding. It is an implementation of MVVM mode on Android. It is used to reduce the coupling between layout and logic and make the code logic clearer. MVVM, as opposed to MVP, actually replaces the Presenter lay ...

Posted on Tue, 23 Jun 2020 23:49:02 -0400 by gusaps

SSM learning notes - (spring MVC + Spring + mybatis) configuration (eclipse)

I've heard the teacher said that the whole family bucket of spring framework has never known what it is. I read a lot with a sense of mystery and didn't really understand it. I simply learned the configuration of SSM framework by taking the opportunity of practical training. Spring, as a novice of Xi ...

Posted on Tue, 23 Jun 2020 04:20:34 -0400 by galewis

AOP development specification and steps of Spring framework based on AspectJ

Relationship between AOP and dynamic agent: AOP terminology: Horizontal focus: Functions to be added to the business code (called crosscutting concerns in the target object and notifications in the aspect class) Section class: Classes that encapsulate enhanced methods (horizontal concerns) Notice: ...

Posted on Tue, 23 Jun 2020 01:11:30 -0400 by trp