The Servlet lifecycle

... Servlet is deployed in a container whose lifecycle is managed by the container. The Servlet life cycle is summarized in the following stages. (1) When the web client requests the servlet service or when the web service starts, the container environment loads a Java Servlet class. (2)...


Webservice summary

... 1.webservice is a cross-language, cross-operating platform remote calling technology, that is, cross-platform remote calling technology. (Three remote calling technology socket, httpClient, webservice (underlying socket based implementation)) 2.webservice three protocols (understand),...


LeeCode 39 combination sum (Tiankeng java value transfer, the head is beaten)

... Given an 无重复元素 Array candidates and a target Number target , find out all the combinations of target that can make the number and target . The numbers in candidates can be selected with unlimited repetition. 说明: All numbers (including target ) are positive integers. 解集 cannot contain...


Java file operation

... uses Java to read the text file by line. This line is displayed after each line is read. The number of characters in each line is counted and the statistical result is displayed. Finally, the total number of rows is displayed. import java.io.BufferedReader; Import java.io.File; Import...


Spring cloud

... Spring Boot and spring cloud relationship? SpringBoot focuses on the rapid and convenient development of a single individual microservice SpringCloud provides configuration management, service discovery, circuit breakers, routing, micro-proxy, event bus, global lock, decision-making...


Android database application --- make a note app

... Foreword: This app was actually finished very early, but did not accumulate at that time, sophomore just opened the Java class to have some new understanding of Android, so a few days ago Just re-do this app and summarize it (there is a GitHub address at the end of the article, but it...


Android entry notes (a)

... 一, UI fragment 1.1 Why use fragment and related understanding of hosting in order to more flexible control of components, while adapting to the large screen layout of the tablet So I introduced a UI fragment to manage the UI. The fragment class has the same effect as the avtivity in a...


Monotonic sequence [leetcode]

... 题描述 If the array is monotonically increasing or monotonically decreasing, then it is monotonous . If for all i <= j , A[i] <= A[j] , then the array A is monotonically increasing. If for all i <= j , A[i]> = A[j] , then the array A is monotonically decreasing. When the given...


RequestMapping

... @RequestMapping Annotation Parameter value method specifies the access method. If the access methods do not match, the access cannot be made. @RequestMapping(value="/testMethod",method=RequestMethod.POST) public String testMethod() { System.out.println("tsetMethod"); return SUCCESS; }...


RabbitMQ--Getting Started Helloworld

... This series of tutorials mainly comes from the translation of the official website introduction tutorial, and then carried out some modifications and experiments, the content is for reference only. “Hello world” of RabbitMQ 1, RabbitMQ installation Download Erlang, address: http://www...