The new colleague "optimizes" the if else with the strategy mode. The technical director said: can you think about it and then change it?

This article comes from the author's contribution, the original author: God loves apples At present, shell house hunting is my employer in Mordor. I usually focus on some java related technologies. I hope you can find something useful in this article. Personal level is limited. If there is any error in the article, please point it out and commu ...

Posted on Wed, 24 Jun 2020 01:01:04 -0400 by storyboo

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

Learning from Spring Security practice: creating a simple Spring Security Project

Reference course: Mr. Chen Muxin's "Spring Security practice" Create spring boot project There are many ways to create a Spring Boot project through the Intellij IDEA. The easiest way is to use the Spring InitializrTools.Spring Initializr allows us to select some common project dependencies in advance. Here, we choose Security as the ...

Posted on Tue, 23 Jun 2020 22:44:11 -0400 by [ArcanE]

Flutter Side Door Left - How do I skip Activity and execute Dart directly?

Start by cutting directly into the topic and focusing on: private void startBackgroundIsolate() { //... sBackgroundFlutterEngine = new FlutterEngine(mContext); DartExecutor executor = sBackgroundFlutterEngine.getDartExecutor(); FlutterCallbackInformation callbackInfo = FlutterCallbackInformation.lookupCallbackInformation(mRegistrationCallb ...

Posted on Tue, 23 Jun 2020 14:53:40 -0400 by McInfo

Design Mode - MVC Mode

Above (Design Mode - Visitor Mode): https://blog.csdn.net/qq_16498553/article/details/106912484 Catalog background What is the MVC mode mode? Roles: Advantage: Disadvantages: What can MVC mode do? MVC Pattern Class Diagram Implementation Code Source download:https://gitee.com/hong99/design ...

Posted on Tue, 23 Jun 2020 12:11:02 -0400 by richardandrewle

RabbitMQ: RabbitMQ delay queue, message delay push

Application scenario At present, the common application software has the shadow of message delay push, which is also widely used, for example: Taobao automatically confirms the receipt within seven days. After we sign in the goods, the logistics system will delay sending a message to the payment syst ...

Posted on Tue, 23 Jun 2020 06:10:01 -0400 by anish

Day09+10 stream related content

Day09+Day10 1, IO IO represents Input and Output respectively. Data transmission needs to rely on flow, which can be understood as data flow. According to the direction of flow, it is divided into input stream (from device to memory) and output stream (from memory to device). According to the differ ...

Posted on Tue, 23 Jun 2020 05:54:04 -0400 by adksga

Research on JBOSS file free web shell

Author: wide byte securityOriginal link: https://mp.weixin.qq.com/s/_SQS9B7tkL1H5fMIgPTOKwThis article is the author's contribution. Seebug Paper is looking forward to your sharing. If you use it, you will have a gift! Submission email: paper@seebug.org In the previous articles, I mainly studied the file free web shell of tomcat and weblogic. ...

Posted on Tue, 23 Jun 2020 05:12:50 -0400 by wee493

mybatis plus pit - @ TableField(typeHandler) does not take effect when querying is null

catalog 1, Scene 2, Questions 3, Troubleshooting steps 4, Example 5, Questions 1, Scene There are often List fields in entities that need to be mapped mybatis plus provides annotation mode for direct injection. The portal: Portal - field type processor 2, Questions The addition, deletion and ...

Posted on Tue, 23 Jun 2020 05:02:38 -0400 by tckephart

26 - how does the production environment exclude and optimize the JVM?

I believe you have a general impression on the theory and practice of the JVM through the previous several lessons. This lesson will focus on the troubleshooting and optimization of the JVM, so as to have a complete understanding of the knowledge points of the JVM, so that it can be better applied to th ...

Posted on Tue, 23 Jun 2020 04:31:08 -0400 by Jewbilee