Introduction to new features of Java 8 & Lambda expression
catalogue
1, Introduction to new features of Java 8
characteristic
2, Parallel stream and serial stream
3, Do you want to use a Lambda expression
3, Example of Lambda expression
1.Runnable
2.Comprator
(1) Use of Lambda expressions
1. Format
2. Syntax format 1: no parameter, no return value
3. Syntax format 2: lambda requires a parame ...
Added by francisexpress on Fri, 28 Jan 2022 19:19:53 +0200
ranger and presto source code compilation
Summary of Presto+Ranger source code compilation problems
Recently, I want to integrate prestodb and ranger, so I want to know more about presto and add Ranger plug-ins.
To this end, I compiled the source code of presto and ran 0 7.1 (online version) compiled the source code. presto is compiled on win10, and ranger is compiled on Ubuntu 16 04 ...
Added by mcog_esteban on Fri, 28 Jan 2022 15:13:06 +0200
Docker can easily build Nexus private warehouse and realize Maven private server
1, Foreword
It is believed that domestic small partners have experienced too slow pull-down speed of Gradle, Maven and NPM. Our general approach is to configure Alibaba cloud Central warehouse . The acceleration problem can be solved in this way, but if the library within the team wants to upload and distribute, it is not appropriate to trans ...
Added by jrough on Thu, 27 Jan 2022 22:39:49 +0200
Maven build combined with profile to realize multi environment configuration
problem
The development of a project mainly includes several stages: development, testing and final deployment. Each stage has different settings for configuration (database and log). The deployment engineer is responsible for modifying the configuration and launching each time. This way of working makes everyone tremble every time they go onl ...
Added by backyard on Thu, 27 Jan 2022 21:42:16 +0200
Spring07 - integrate Mybatis
Review MyBatis
1. Import the dependencies required by MyBatis in Maven
<dependencies>
<!--Mysql drive-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.22</version>
</dependency>
<!--MyBatis- ...
Added by fgm on Tue, 25 Jan 2022 11:58:14 +0200
SpringIOC and SpringAOP (combination of examples and knowledge points)
What are spring IOC and spring AOP?
IoC (inversion of control) and AOP (aspect oriented) are the two cores of the Spring framework. Java Spring framework can flexibly manage transactions in a declarative way to improve development efficiency and quality.
IoC control reversal
Ioc Inversion of Control is not a technology, but a design idea ...
Added by paddyhaig on Tue, 25 Jan 2022 07:57:54 +0200
1 - Maven learning notes 1 - Maven introduction, Maven core concepts
1 Introduction to maven
Official website link
1.1 stages in software development
Demand analysis: analyze the specific functions completed by the project, what requirements are there and how to implement them.
Design stage: according to the analysis results, what technology is used in the design project and solve the difficulties.
Dev ...
Added by indian98476 on Mon, 24 Jan 2022 02:30:33 +0200
Activiti7 Workflow Foundation, read this article is enough
Activiti7
1, Workflow introduction
1.1 concept
Workflow is the automatic execution and management of business processes through computers. It mainly solves "the process of automatically transferring documents, information or tasks among multiple participants according to some predefined rules, so as to achieve an expected business goal ...
Added by Elliott on Sun, 23 Jan 2022 16:58:26 +0200
I won't use Spring's configuration file, so I'll leave it to him
Absrtact: from the rapid use of Spring program, the use of Bean tag and the specific use of its attributes, each attribute is explained by code, and the running results and cases are also written very clearly.
This article is shared from Huawei cloud community< How do I use Spring configuration files? Let's play with the Spring configurat ...
Added by cneale on Fri, 21 Jan 2022 15:57:03 +0200
Alipay integration
Spring boot integrate Alipay sandbox
1., there is no introduction to the configuration of the key and public key of Alipay sandbox. If there is no configuration, please configure it first, and then look at this blog. There are many deficiencies. Please forgive me.
2. I use code scanning payment, which is to generate a QR code. Of course, th ...
Added by ugriffin on Fri, 21 Jan 2022 12:31:29 +0200