Simple use of Java generics

Preface There are many generics in java used in actual development. Students who have studied C + + must know the template of C + +, while generics in Java are similar to it to some extent. Most people who believe in java have used the implementation class ArrayList of List. Before Java had no generics, its interior was imp ...

Posted on Fri, 21 Feb 2020 02:58:44 -0500 by january_9th

How does Dubbo support local calls? Analysis of InJvm mode

Dubbo is a framework for remote calls. For a service provider, an interface is exposed for external consumers to call,Do you need any special handling for whether the provider can call this interface? This article will share Dubbo's implementation mechanism of local call and how to turn it on and off. injvm supports local calls Using Dubbo loc ...

Posted on Fri, 21 Feb 2020 01:40:58 -0500 by JeBu

Take you to read the Mybatis source code construction

Preface Today we will share with you our commonly used persistence layer framework, MyBatis's work principle and source code analysis. Later, we will do some more in-depth explanations about the Mybatis framework. After that, we will put the content in the official account menu bar: serialized. -Framework analysis, welcome to explore! To be hon ...

Posted on Thu, 20 Feb 2020 22:46:56 -0500 by zeddeh

Cross domain authentication solution -- JWT picture and text tutorial

brief introduction JSON Web Token(JWT) is a very lightweight specification. This specification allows us to use JWT to pass safe and reliable information between users and servers. JJWT can be used to create and verify JWT in Java. 1, token creation: (1) Create maven project and introduce depende ...

Posted on Thu, 20 Feb 2020 22:29:02 -0500 by Syto

Flink 1.10 principle and practice of native kubernetes

Author: Zhou Kaibo (baoniu) After a long call, today Kubernetes is in full swing, Flink community finally provides native support for Kubernetes in version 1.10, that is Native Kubernetes Integration . However, it is only Beta version, and it is expected to provide full support in version 1.11. We know that in Flink 1.9 and earlier versions, i ...

Posted on Thu, 20 Feb 2020 05:54:40 -0500 by SetToLoki

Asynchronous concurrency tool: a practice of using CompletionService to improve system performance in actual projects

scene With the development of Internet application, many traditional industries also need access to the Internet. The same is true of our company. The insurance core needs to be connected with many insurance intermediaries, such as Alibaba, JD, etc. These companies have some relatively high requirements for the performance of interface services ...

Posted on Thu, 20 Feb 2020 05:48:54 -0500 by g0liatH

16 java learning ArrayList, Vector, LinkedList, generic, variable parameter, enhanced for loop

16 java learning ArrayList, Vector, LinkedList, generic, variable parameter, enhanced for loop Catalog: ArrayList Vector LinkedList Generic Variable parameters Enhance for loop 1.ArrayList stores string and traverses A new method in JDK 1.8 can also traverse a set Void foreach (consumer <? ...

Posted on Thu, 20 Feb 2020 05:14:00 -0500 by Jason Batten

How POI resolves whether the check box in excel is selected

1. Problem description It is a common function in enterprise development to store the data in Excel file into the system. It is easy to analyze the data in excel by using poi. However, if there is a check box in Excel file, it is a very troublesome thing to get the status of the check box. 2. Solut ...

Posted on Thu, 20 Feb 2020 05:03:56 -0500 by lucy

DRL rule language for Drools records

2, DRL (Drools rule language) Rules DRL files can contain single or multiple rules, queries, and functions, and can define resource declarations, such as imports, globals, and properties assigned and used by rules and queries. DRL packages must be listed at the top of the DRL file, and rules are usual ...

Posted on Thu, 20 Feb 2020 04:49:09 -0500 by Garcia

Android boot page implementation

background If we need to load some resources in our APP, or need a transitional interface to make the main interface display not so abrupt, then we need to use the concept of the guide page. By loading some resources during the guide page, users will not be able to do anything, which leads to a bad ex ...

Posted on Thu, 20 Feb 2020 04:30:23 -0500 by cwiddowson