Linux: Find out which thread is the most occupied by the cpu resource

... . Here is a summary of the search steps for the thread resource occupation problem of linux and sun (oracle) JDK; in the Linux environment, when the java process is found to occupy CPU resources High, and want to further find out which java thread occupies CPU resources, follow the...


The shell re-release (redeploy) service

... began to work on the content of some published applications. The simple requirement is this: Application services need to be updated to the application server after adding new features or requirements. Involved in the work content: Backup the current service jar package to the backup...


Java automatic login function and remember user name function

... In these two functions, you need to use coolie technology, bring the required user name or password to the browser, realize the record of user name and password, and then Complete the desired function. First, the automatic login function background code 1.1, the code in the background...


Log4j+slf4j set up

... to build maven project, I built the jar version of maven add log4j and slf4j maven dependencies: <!--log start--> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>${commons.log4j.version}</version> <...


Chapter 7 SpringMVC build WEB application

... Spring MVC request flow: 第一:Initiate request to 前控制器 (DispatcherServlet) 第二步: Front-end controller request HandlerMapping 找 Handler can be searched according to xml configuration, annotation third step: processor mapper HandlerMapping returns to the front controller Handler 四步: front...


From the entry to the abandonment of

... as a socialist aspiring youth, today, I saw the bedroom and began to brush leetcode, and suddenly let the younger brother discover the New World, which did not start. Not much to say, pick up your sleeves and dry. package leetcode; Import java.util.ArrayList; Import java.util.List;...


Android 8.0 SystemUI started

... recently learned the contents of SystemUI, on the Internet to find related sources to learn. The following is summarized as a recent record. In-depth understanding of SystemUI SystemUIService startup SystemUI Most of the functions are independent of each other. More specific are the...


(Easy and easy to understand) Use Spring MVC to build Hello world

... Spring MVC service flow diagram Spring MVC components and processes First, before using Spring MVC, we have to make clear that Spring MVC is a kind Based on Servlet technology, it provides the core controller DispatcherServlet and related components, while Spring MVC works around the...


JDK11 JEP321: HTTP Client (Standard) Detailed + demo

... 一· Background Description Introduced HTTP client standardization from jdk9, started to update in jdk10 according to user feedback, with significant improvement, the usage is basically maintained constant. Non-blocking requests and responsives are provided through CompletableFutures....


Java Mail Send - Amazon Simple EMail Service (SES) as SMTP Server

... Summary for two points: 1. Log in to AWS and go to the console, then click SMTP Settings to create an SMTP account: Create My SMTP Credentials, follow the prompts to generate username and password, which looks like the key of IAM User. 2.Verify the sending email address, and if it is...