Android QQ course design

1. Preface: for the small project written after learning Android for a month in 2017, the document has only been completed recently. The project and document are original and released to remember a few years ago. Due to the projects written in 2017, the code and technology are backward, but it can provide some ideas for writing similar projects ...

Added by Felex on Wed, 23 Feb 2022 16:05:41 +0200

Java, multithreading, reflection

Multithreading What is a process A process is an application What is a thread A thread is an execution scenario / progression unit in a process A process can start multiple threads For java program, when entering in DOS command window: After entering the java HelloWorld. The JVM will be started first, and the JVM is a process At the same tim ...

Added by alexus on Wed, 23 Feb 2022 15:54:33 +0200

Java web upload file

catalogue 1. Brief introduction 2. Principle explanation 3. The code is as follows (including comments) 3.1 obtain DiskFileItemFactory object Get fileservlet2.3 object 3.3 uploading files 3.4 doPost() 4. Operation results 1. Brief introduction In a web project, it is very common for users to upload files to the project, such as a ...

Added by Pantho on Wed, 23 Feb 2022 15:49:45 +0200

spring source code 5 Import idea2019 three point five

prepare Download idea2019 3.5 install and activate (see the compressed package sent by brother chicken in the group for specific steps). Pull spring 5 3.5 source code (tips: it is recommended to start with Star and then Forked, and then go back to the project warehouse of your account and then pull): https://gitee.com/hhf1237/spring-framewor ...

Added by mc2007 on Wed, 23 Feb 2022 14:58:09 +0200

DOM and BOM of JavaScript objects

preface This article briefly introduces the BOM object and DOM object of JavaScript, as well as the related methods and usage. catalogue 1, DOM object simple learning 2, Events 2.1 simple learning of events 2.2. Event monitoring mechanism         Case: bulb switch: 3, BOM object 3.1. BOM object concept: 3.2 composition         Case: ...

Added by corbin on Wed, 23 Feb 2022 14:44:16 +0200

JVM parameters and memory model

1. Why should we optimize the jvm? In the local development environment, we rarely encounter the need to optimize the jvm, but in the production environment, we may have the following requirements: The running application is "stuck", the log does not output, and the program does not respond The CPU load of the server suddenly incr ...

Added by DarkHavn on Wed, 23 Feb 2022 13:03:37 +0200

SMC - state machine code generation tool

1, Introduction 1.1 introduction to SMC    SMC is a state machine software code generation tool developed in Java. SMC supports a variety of development languages: C, JavaScript, Python, C + +, Lua, Ruby, c#, Objective-C, Scala, Groovy, Perl, TCL, Java, PHP and VB Net, and what we need to do is to complete one sm's script and th ...

Added by br549 on Wed, 23 Feb 2022 12:55:46 +0200

Read HTTP request [HttpServletRequest]

1. Understand the method System.out.println("Request protocol name:"+req.getProtocol()); System.out.println("Request method:"+req.getMethod()); System.out.println("Application context path/App Name:"+req.getContextPath()); System.out.println("Resource path/servletPath: "+req.getServletPath()); System.out.println("The key in the request h ...

Added by blacksharkmedia on Wed, 23 Feb 2022 11:57:16 +0200

Apache APIs IX integrates Open Policy Agent

Open Policy Agent (OPA) is an open source lightweight general policy engine, which can replace the built-in policy function module in the software to help users realize the decoupling of service and policy engine. Benefit from OPA Perfect ecosystem , users can easily integrate OPA and other services, such as program library, HTTP API, etc. As ...

Added by itandme on Wed, 23 Feb 2022 11:56:10 +0200

Several common JVM tuning scenarios

Recently, many small partners told me that they have learned a lot of JVM tuning knowledge, but they don't know when to tune the JVM in practical work. Today, I will introduce several JVM tuning scenarios. When reading this article, it is assumed that you have understood the data area and common garbage collection algorithms at runtime, as ...

Added by stevenm on Wed, 23 Feb 2022 11:20:28 +0200