SPI (Service Provider interface) mechanism

1, Loading mechanism of class The loader loading of classes in Java comes from files, networks, source files, etc. By default, the class loader of the jvm uses the parent delegation mechanism, Bootstrap ClassLoader, Extension ClassLoader, and attachment classloader (system classloader). Each class l ...

Posted by xXx_Hobbes_xXx on Sat, 01 Feb 2020 09:01:24 -0800

android gesture recognition

No more details Gesture recognition code http://download.csdn.net/detail/zhupengqq/9578532 After running the above project, it will generate such a gesture recognition library, gestures, and create a new project, Under res, create a raw folder, and then import the library   Here is an exampl ...

Posted by elToro on Sat, 01 Feb 2020 07:47:21 -0800

Talk about artemis' individual knowledge

order This paper mainly studies the individual knowledge of artemis acknowledge activemq-artemis-2.11.0/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessage.java public class ActiveMQMessage implements javax.jms.Message { //...... public void acknowledge() throws JMSException { if (session != nul ...

Posted by dylan001 on Sat, 01 Feb 2020 06:06:02 -0800

Ant blockchain lesson 20: trustworthiness certification judicial chain from entry to implementation

1. summary The technology builders of Hangzhou Internet court and judicial blockchain platform are ant financial services blockchain. Then, with the help of ant's technical ability and service ability, how to quickly connect with the superior's legal chain, so as to facilitate the subsequent opening ...

Posted by stiano on Sat, 01 Feb 2020 05:19:13 -0800

Spring Boot

If you want speed, you will not reach it. If you want speed, you will reach it! hello, hello, I've met you again. Today is February 1, 2020. On the eighth day of the lunar new year, the Spring Festival will soon be over. The new type of coronavirus pneumonia has become the theme of the Spring Festival in 2020. I'm in awe of life. I hope I can ...

Posted by llcoollasa on Sat, 01 Feb 2020 03:56:20 -0800

Android 9.0 source APP startup process

The relevant source path used in this article: Android 9.0 app startup source code 1. Introduction to startup 1.1. Startup process: Click the desktop App icon, and the Launcher process uses Binder IPC to initiate the startActivity request to the system server process; After receiving the request, t ...

Posted by fnbcprog on Sat, 01 Feb 2020 03:50:50 -0800

Spring MVC source code parsing (travel process of a request)

1, Inheritance structure and component initialization of dispatcher Servlet 1.1 dispatcher servlet genealogy The essence of spring MVC is a Servlet, which inherits from HttpServlet. Spring MVC provides three levels of servlets: HttpServletBean, FrameworkServlet and DispatchServlet, which inherit fr ...

Posted by legio on Sat, 01 Feb 2020 02:42:25 -0800

Construction of eureka Registration Center

Is there a problem? Briefly review what we have just written: Service provider: a microservice that provides querying users according to their id. Service consumer: a service caller who calls service provider remotely through RestTemplate. What's the problem? In consumer, we hard cod ...

Posted by Vorotaev on Sat, 01 Feb 2020 02:13:45 -0800

Java foundation - structured programming

Structured process design The principle of structured programming can be expressed as: program = (algorithm) + (data structure). The three basic structures of structured programming are sequence structure, selection structure and cycle structure. Sequential structure Sequential structure means that ...

Posted by spamoom on Fri, 31 Jan 2020 23:09:08 -0800

Java single application - Architecture Mode - 03. Design mode - 19. Memo mode

Original address: http://www.work100.net/training/monolithic-architecture-design-patterns-memento-pattern.html More tutorials: Beam cloud - free course Memo mode Serial number Chapter in text video 1 Summary 2 Realization Please refer to the navigation above for reading 1. overview Memo ...

Posted by Jenling on Fri, 31 Jan 2020 23:02:46 -0800