Database connection pool and DBUtils tool

1: DBCP data source DBCP: short for database connection pool, it is the implementation of open source connection pool under Apache organization and the connection pool component used by Tomcat server. When using DBCP data source alone, you need to import two JAR packages in the application, as follows: 1.commons-dbcp.jar package commons-dbcp.j ...

Posted by ahundiak on Mon, 03 Jan 2022 20:29:26 +0100

Sophomore 15th file upload and download

File upload and download How to upload files To realize the file upload function in web development, it usually needs to complete two steps: one is to add the upload input item in the web page, and the other is to read the data of the uploaded file in the Servlet and save it to the local hard disk. Since most file uploads are submitted to the ...

Posted by philweb on Mon, 03 Jan 2022 15:06:40 +0100

Web Service Setup - Apache

Web Server Setup Introduction to Web Services The process by which a server interacts with a browser using the HTTP protocol The browser determines the URL of the web pageBrowser requests IP address resolved by domain name serverThe browser requests a TCP link from the host's port 80The server confirms the connection request and the proc ...

Posted by jpoladsky on Mon, 03 Jan 2022 05:35:45 +0100

Analysis of Apache Avro data

Absrtact: This article will demonstrate how to generate avro data by serialization and parse it using FlinkSQL. This article is shared from Huawei cloud community< [technology sharing] serialization and deserialization of Apache Avro data & & flinksql parsing Avro data >, author: third uncle of Nanpai. Technical background Wit ...

Posted by cheesehead on Sun, 02 Jan 2022 19:43:54 +0100

gradle build tool learning series – 012 task hook to execution diagram

gradle build tool learning series Sometimes you may want to execute code when a specific lifecycle event occurs. A lifecycle event may occur before, during, or after a construction phase. The lifecycle event that occurs after the execution phase is the completion of the build. Internal representation of Task execution diagram During config ...

Posted by expl0it on Tue, 28 Dec 2021 17:56:11 +0100

Apache Traffic Server installation configuration

  Introduction Apache Traffic Server (ATS or TS) is a high-performance and modular HTTP proxy and cache server. Traffic Server was originally a commercial product of Inktomi company, which was acquired by Yahoo in 2003. Since then, Traffic Server has been used in Yahoo for up to 4 years until Yahoo submitted it to Apache Software Foundation ...

Posted by sendoh07 on Tue, 28 Dec 2021 03:24:38 +0100

Android advanced light learning record -- an attempt of ButterKnife, an annotation and dependency injection framework

⚠️ The module created is a java module rather than an Android Library. If the latter is created, AbstractProcessor cannot be used   According to the book, I want to imitate butterknife myself The final project structure is shown in the figure above. Among them, annotations is a Java library with different annotations, process is an annot ...

Posted by Debbie-Leigh on Mon, 27 Dec 2021 21:11:20 +0100

Index file of Lucene in Solr source code analysis (10)

2021SC@SDUSC 1. .dvd and dvm file . dvm stores the metadata of DocValue field, such as DocValue offset. . dvd stores DocValue data. stay Solr4.8.0 In, dvd as well as dvm Used Lucene The encoding format is Lucene45DocValuesFormat. Similar to the previous file format, it contains Lucene45DocValuesProducer And Lucene 45docvaluesconsumer to ...

Posted by Slashscape on Sun, 26 Dec 2021 02:59:06 +0100

Apache builds web virtual host, log segmentation and log analysis

1, Building a virtual web host 1. Introduction ①fictitious web Host refers to running multiple servers in the same server web Sites, in which each site does not actually occupy the entire server independently, so it is called "virtual" Web host. Through virtual Web Host service can make full use of the hardware resources of the serv ...

Posted by SocomNegotiator on Sat, 25 Dec 2021 16:33:31 +0100

java log framework JUL, JCL, Slf4j, Log4j, Log4j2, Logback

Why does the program need to log It is impossible for us to manually monitor the system 24 hours in real time, so how to check if there are abnormal errors in the program? And how do we know what the system does when it runs? At this time, the concept of log appears. The emergence of log plays a vital role in system monitoring and exception an ...

Posted by vinny199 on Wed, 22 Dec 2021 21:33:15 +0100