Message notification event in Android monitoring system

0. Learning articles Refer to the following Blog without any extra code https://blog.csdn.net/wanghang1208/article/details/49905403 The original Baidu guard notice bar is similar to this principle, very good 1. Demonstration results Data source log monitored 03-24 14:37:04.264 6155-6155/com.lava.noticeobser D/ ...

Posted by eerok on Fri, 03 Apr 2020 05:40:58 -0700

ActiveMQ and spring integration

1 producers Step 1: reference the relevant jar package. <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jms</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> </depende ...

Posted by just_nobody on Fri, 03 Apr 2020 04:43:23 -0700

Integration of spring boot 2. X development case Quartz task management system

CRUD task management system based on spring boot 2. X + quartz is suitable for small and medium-sized projects. CRUD task management system based on spring boot + quartz: https://gitee.com/52itstyle/spring-boot-quartz development environment JDK1.8,Maven,Eclipse Technology stack SpringBoot2.0.1,thymeleaf3.0.9,quartz2.3.0,iview,vue,layer,AdminL ...

Posted by deception54 on Fri, 03 Apr 2020 04:17:34 -0700

Simple RPC framework based on Socket+Zookeeper

RPC process details Implementation content json serialization zookeeper implements service registration on the server side and service discovery and load balancing on the client side Automatically scan the interface provided by the server and register it in zookeeper Automatically generate client dynamic proxy objects socket communication M ...

Posted by alvinkoh on Fri, 03 Apr 2020 03:14:29 -0700

Introduction to using JDBC template in Spring

Spring provides a powerful template class -- JDBC template to simplify JDBC operations. The data source DataSource object and the template JDBC template object can be defined in the configuration file in the form of Bean, giving full play to the power of dependency injection.   Case: use JDBC template to query all books 1. Introduce jar package ...

Posted by Loafin on Fri, 03 Apr 2020 01:06:22 -0700

Add, delete, modify and query LDAP data with java

Add, delete, modify and query LDAP data with java 1, ldap is used in many systems, and code is needed to realize data management of ldap in specific business. First, add the dependency package of ldap: <dependency> <groupId>org.springframework.ldap</groupId> <artifactId>spring-ldap- ...

Posted by Cobby on Thu, 02 Apr 2020 19:26:51 -0700

The integration of spring MVC and freemarker

Official introduction: FreeMarker is a template engine: a general tool based on template and data to be changed, and used to generate output text (HTML web page, email, configuration file, source code, etc.). It is not for end users, but a Java class library, a component that programmers can embed in their products. The final project contents ...

Posted by pyc on Thu, 02 Apr 2020 14:34:11 -0700

Spring -- conflict between annotation and synchronized

Spring's annotation of things will cause synchronization lock to fail. The reason is that the priority of annotation of things is higher than that of synchronized. Synchronization lock is executed after opening things, which will cause other threads to request that things have not yet submitted to read data and will not be updated. Solutio ...

Posted by superdezign on Thu, 02 Apr 2020 05:17:55 -0700

Spring cloud Chapter 7: Message Bus

Spring Cloud Bus connects distributed nodes with lightweight message brokers. It can be used for broadcast profile changes or communication between services, or for monitoring. This article is about the implementation of Spring Cloud Bus to notify the change of configuration file of microservice architecture. 1, Preparations This article is ...

Posted by imartin on Thu, 02 Apr 2020 01:50:28 -0700

Spring boot auto assembly principle

SpringBootApplication annotation @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited @SpringBootConfiguration @EnableAutoConfiguration @ComponentScan(excludeFilters = { @Filter(type = FilterType.CUSTOM, classes = TypeExcludeFilter.class), @Filter(type = FilterType.CUSTOM, classes = AutoConfigu ...

Posted by theprofession on Thu, 02 Apr 2020 01:45:43 -0700