Shiro -- session management

session management Shiro provides a complete enterprise level session management function, independent of the underlying container (such as web container tomcat), which can be used in both Java Se and Java EE environments. It provides session management, session event monitoring, session storage / persistence, container independent clustering, ...

Posted by genics on Sat, 07 Mar 2020 00:46:52 -0800

SpringBoot + thrift + apache.commons.pool2: build a thrift client connection pool on the springboot project

Catalog I. Preface 2, thrift server 3, thrift client connection pool Introducing pom dependency Objects that need to be pooled Object factory Object pool Configuration class of object pool Spring configuration class Four, use Five, summary I. Preface Because of the need of work, when using thr ...

Posted by vickyjackson on Thu, 05 Mar 2020 21:58:27 -0800

Conversion of various time types in Java

Catalog   Preface: (1) Time stamp milliseconds to seconds (2) Time stamp conversion to time type (3) Convert common time types to timestamps (4) Use third-party class library conversion (5) String to Date (6) Date to String (7) Calendar to String (8) String to Calendar (9) Date to Calendar ...

Posted by misterph on Thu, 05 Mar 2020 18:10:51 -0800

Write a simple MR program and run it in the cluster!! (wordcount)

Preface Implement a handwritten WC program and package it to run on the cluster. Create a Maven project and import pom Engineering catalogue Import pom <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/X ...

Posted by RCS on Thu, 05 Mar 2020 04:17:04 -0800

Network Crawler Generation Agent ip

agent When writing web crawlers, we often encounter the problem of frequent IP access being blocked. The commonly used solution is to proxy ip.To do this, I wrote a sample program that randomly generates an available proxy ip. program package proxy; import java.io.IOException; import java.net.URISyntaxException; import ...

Posted by marseille on Wed, 04 Mar 2020 08:23:59 -0800

Talk about skywalking's AbstractPlatformTransactionManagerInstrumentation

order This paper mainly studies the AbstractPlatformTransactionManagerInstrumentation of skywalking AbstractPlatformTransactionManagerInstrumentation skywalking-6.6.0/apm-sniffer/optional-plugins/optional-spring-plugins/spring-tx-plugin/src/main/java/org/apache/skywalking/apm/plugin/spring/transaction/define/AbstractPlatformTransactionManagerIn ...

Posted by YodaOfCamarilla on Wed, 04 Mar 2020 06:42:11 -0800

Using spring MVC to upload files

Original address: http://www.yiidian.com/springmvc/file-upload.html File upload is a common requirement in the presentation layer. In Spring MVC, the common file upload tool of Apache is used to complete file upload and encapsulate it, making it more convenient for developers to use. Let's see how to develop it? 1 import common file upload pack ...

Posted by enoyhs on Wed, 04 Mar 2020 05:04:44 -0800

Follow me to learn the spring cloud Tutorial Part 6: distributed configuration center (Spring Cloud Config) - b2b2c applet E-commerce

In the distributed system, due to the huge number of services, in order to facilitate the unified management and real-time update of service configuration files, the distributed configuration center components are required. In Spring Cloud, there is a distributed configuration center component, spring c ...

Posted by mike_y on Tue, 03 Mar 2020 21:08:36 -0800

SpringBoot Graphics Tutorial 9 - SpringBoot Import Export Excel "Apache Poi"

The concept of flying in the sky requires the realization of landing -Ten concepts are not as good as code, friend. I hope you'll hit through all the code cases in this article -First approve then see, develop a habit Table of Contents for SpringBoot Tutorial Series Articles SpringBoot Picture T ...

Posted by Shuriken1 on Tue, 03 Mar 2020 19:03:10 -0800

SPI application and principle of dubbo

dubbo SPI(Service Provider Interface) In essence, the fully qualified name of the interface implementation class is configured in the file, and the service loader reads the configuration file and loads the implementation class. This allows you to dynamically replace the implementation class for the interface at run time. SPI is used to de ...

Posted by Thora_Fan on Mon, 02 Mar 2020 23:42:33 -0800