2. Sticking and unpacking of netty (I)

Netty sticking and unpacking 1. What is unpacking and sticking (1) introduction to unpacking and sticking TCP is a "flow" protocol. The so-called flow is a string of data without boundary. You can think of the running water in the river, which is connected in one piece, and there is no boundary between them. The bottom layer of TCP d ...

Posted by pagegen on Mon, 16 Dec 2019 11:46:30 -0800

How to deploy Mybatis on weblogic in spring boot integration

introduce In this paper, we refer to How to deploy spring boot gracefully on weblogic Mybatis is deployed on weblogic Server by using springboot. Environmental Science Development tool: Eclipseweblogic version: 10.3.6.0weblogic-jdk: 1.8.0_91 Technology realization Create Maven project and add it to pom file <project xmlns="http://maven.apac ...

Posted by chuckjones on Sun, 15 Dec 2019 12:28:55 -0800

The most elegant and simple way for java reflection to get parameter names with asm

Background description Recently, I wrote reflection-related code and wanted to get the name of the corresponding parameter, but found there was no particularly good way. jdk7 and before was not able to get parameter names through reflection. jdk8 is available, but there are many restrictions on specifying the-parameter startup parameter. I tri ...

Posted by salmanshafiq on Sat, 14 Dec 2019 01:13:44 -0800

SpringCloud Distributed Microservice Cloud Architecture Part 5: Routing Gateway (zuul)(Finchley version)

SpringCloud Distributed Microservice Cloud Architecture Part 5: Routing Gateway (zuul)(Finchley version)In the micro-service architecture, several basic service governance components are needed, including service registration and discovery, service consumption, load balancing, circuit breaker, intelligent routing, configuration management, etc ...

Posted by wpsa on Fri, 13 Dec 2019 10:31:35 -0800

Four registration postures of Listener in spring boot series

Filter and servlet, the three elements of java web, are introduced respectively. Next, let's take a look at the related knowledge points of Listener. The main content of this blog is how to customize the Listener and register it to the spring container in the spring boot environment <!-- more --> I. environment configuration 1. Project co ...

Posted by madcat on Thu, 12 Dec 2019 22:01:42 -0800

Apache Maven from Getting Started to Ascending

If you like, order a compliment! GitHub Project JavaHouse Synchronized recording 1 Introduction Maven should be an essential tool in everyday Java development, and of course Gradle is used.So what exactly is Maven?Isn't it just a dependent import tool?I believe many people feel the same way as me.But in general, what you feel is often unrelia ...

Posted by dennissanche on Thu, 12 Dec 2019 18:03:12 -0800

Install alirocketmq version from scratch on CentOS7: release-4.0.1

Install alirocketmq version from scratch on CentOS7: release-4.0.1 [pro test ha ha] Install git # Update package $ yum update # Install git $ yum install git # Verify git installation success $ git --version # So git can be installed successfully Install wget dependency package # Update package $ yum install wget # You can ...

Posted by SCRUBBIE1 on Thu, 12 Dec 2019 08:46:41 -0800

Dev log | how to publish jar package to Maven central warehouse

abstract The Maven central warehouse does not support direct upload of jar packages, so it is necessary to publish the jar packages to some designated third-party Maven warehouses, such as the Sonatype OSSRH warehouse, and then the warehouse synchronizes the jar packages to Maven. This paper records the whole publishing and synchronization pro ...

Posted by Shaun on Wed, 11 Dec 2019 22:50:51 -0800

[Java Library] How do you use the excellent encryption library Jasypt to protect your sensitive information?

1 Introduction Today we introduce a Java library, Jasypt, called Java Simplified Encryption, for encryption and decryption.It enables developers to integrate encryption into their projects with minimal effort and does not require in-depth knowledge of encryption/decryption. Referencing jar packages through Maven is as follows: <dependency&gt ...

Posted by Intaglio5 on Wed, 11 Dec 2019 12:06:10 -0800

How to customize Python UDF in PyFlink 1.10?

We know that PyFlink is newly added in Apache Flink version 1.9, so can the speed of Python UDF function support in Apache Flink 1.10 meet the urgent needs of users? The development trend of Python UDF Intuitively, the function of PyFlink Python UDF can also be changed from a seedling to a tree as shown in the above figure. Why do you have thi ...

Posted by premiso on Wed, 11 Dec 2019 07:02:35 -0800