On dubbo spi mechanism

For example: private static final Protocol protocol = ExtensionLoader.getExtensionLoader(Protocol.class).getAdaptiveExtension(); First of all, analyze the getExtensionLoader method: it is very simple to query whether the extension "loaders" exist or not, and then new returns public static <T> ExtensionLoader<T> getExten ...

Added by hyperyoga on Sat, 28 Dec 2019 16:53:49 +0200

Building PHP Configuration for LMAP Architecture (Final)

[TOC] Article Directory 1. Introduction to PHP 2. Preparations before installation 3. Manual Compilation and Installation of PHP IV. Installation Process of Forum 1. Introduction to PHP PHP, which is used to interpret dynamic Web page files, provides a development and running environment for Web applications. PHP is a widely used open source, ...

Added by katuki on Fri, 27 Dec 2019 22:18:53 +0200

The difference between include instruction and include action element in jsp

The difference between include instruction and include action element in jsp In short: The introduced resource and the original resource of the include action element can be executed independently, and the include instruction needs to be merged The include action element run contains and only contains the run results (only th ...

Added by micmania1 on Fri, 27 Dec 2019 20:26:05 +0200

Basic usage of dbutils

I used the connection pool of c3p0 here. Please refer to this link: The basic usage of c3p0 dbutils is just a tool class. If you don't use hibernate, you can consider using. Because it can greatly simplify our code The jar package can be downloaded on the official website or here: The tool class of Java connecting database ...

Added by LordTyphon on Thu, 26 Dec 2019 22:46:04 +0200

maven uses the setting.xml configuration file to configure the warehouse address

Only one image library can be configured. Alibaba's cloud address is used here, which is faster Upload a maven settings.xml configuration file: <?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apa ...

Added by cmaclennan on Thu, 26 Dec 2019 21:04:02 +0200

Copy HttpRequestBase object

In practice Performance Test Framework 2nd Edition In the process, I implemented a concurrent object creation for a single HttpRequestBase object. Previously, I used to use a unique HttpRequestBase object for multithreaded requests. At present, this is OK, but in order to prevent unexpected use of BUG and uniform concurrent construction methods ...

Added by Haberdasher on Thu, 26 Dec 2019 03:56:35 +0200

Getting started with Nginx error page redirection (Nginx installed from yum)

1. Environment: Nginx installed from yum. 2. Scenario: redirect the error prompt page of Nginx. 3. Configuration file / etc/nginx/conf.d/default.conf tip: why is this configuration file? Because include /etc/nginx/conf.d/*.conf is loaded in the nginx.conf file; 4. default.conf source code: server { listen 80; serve ...

Added by southofsomewhere on Tue, 24 Dec 2019 23:04:12 +0200

Squid Advancement - Use of acl + Log Analysis + Reverse Proxy

Main points: 1. Use of ACL in Squid II. Log Analysis 3. Reverse Proxy 1. Use of ACL in Squid (1) ACL access control methods: 1. List of definitions based on source address, destination URL, file type, etc. acl List Name List Type List Content... 2. Restrict the list of defined ACLS http_access allow or deny list name... (2) ACL rule priority ...

Added by saltedm8 on Tue, 24 Dec 2019 22:47:44 +0200

How to create a Spring Cloud Stream Binder from scratch

You will learn how to develop a custom Spring Cloud Stream Binder from scratch Spring Cloud Stream is a framework built on top of Spring Boot and Spring Integration. It aims to build event driven microservices that communicate through one or more shared messaging systems. The core component of Spring Cloud Stream is called "Binder", ...

Added by geroido on Mon, 23 Dec 2019 20:38:26 +0200

JSTL 1.2 jsp uses jstl to import packages to solve various errors

Problems encountered in using JSTL 1.2 JSP code <%@ page language="java" contentType="text/html; charset=GB18030" pageEncoding="GB18030" isELIgnored="true"%> <%-- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> --%> <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> ...

Added by dwu on Mon, 23 Dec 2019 16:42:11 +0200