Java
-
Java socket programming (III) server sockets
Server sockets list 9.2 is part of a server application Listing 9.2 a simple server program / * * a program that liste…… -
Three solutions to read blocking in java socket long connection
There are three solutions: 1. The length of data to be sent is agreed. For example, keepalive of HTTP must rely on thi…… -
Detailed explanation of Java garbage collection finalize() function
Finalize method use case The finalize () method is defined in the object class, so all classes inherit it. Subclasses …… -
Principle of realizing native socket communication mechanism in Java
This paper introduces the principle of realizing the native socket communication mechanism in Java and shares it with …… -
Explore JAVA memory regions in depth
1、 Overview in the process of executing Java programs, the memory managed by Java virtual machine will be divided int…… -
JSP authentication method using servlet filter
This paper describes the method of JSP authentication using servlet filter. Share with you for your reference, as foll…… -
Java uses httpclient to call HTTPS interface
This paper introduces the method of calling HTTPS interface by Java using httpclient, which is shared with you as foll…… -
Implementation and principle analysis of message push based on IOS
1、 Message push principle: Before implementing message push, several concepts related to push are mentioned, as shown…… -
Java random number generation specific implementation code
This example shares the java random number generation code for your reference. The specific contents are as follows Th…… -
Java programming method example of TCP network communication
This paper describes the method of TCP network communication by Java programming. Share with you for your reference, a…… -
Java database connection_ JDBC ODBC bridge connection mode (detailed explanation)
JDBC ODBC bridge connection mode operation database Su (course) Steps: 1. Configure data sources Search management too…… -
-
Method of uploading and downloading files through FTP server in Java
For applications that use files to exchange data, using FTP server is a good solution. For the detailed setup and conf…… -
On whether to create parent class object in Java inheritance
one It is true to call the parent class constructor, but the parent class object is not created at all. It is just to …… -
Database table access encapsulation of java game server
There are not many database tables involved in the project, but it is very inefficient to manually splice strings for …… -
Comparison between inheriting thread class and implementing runnable interface in Java
There are two ways to create threads in Java: 1. By inheriting the thread class, override the run () method of thread …… -
Example analysis of file upload and download function implemented by struts 2 in Java
This paper describes the implementation method of file upload and download function in struts 2 in Java. Share with yo…… -
Example analysis of parsing XML using DOM in Java
DOM is a powerful parsing tool for small documents Why do you say that? Because it will load the whole XML document in…… -
Detailed explanation of the use demo of carrier pigeon push in IOS
Recently, I used carrier pigeons to push in the knowledge of push, mainly because carrier pigeons are used in the back…… -
In depth understanding of JavaBeans and beans in Java
In depth understanding of JavaBeans and beans in Java JavaBean is a special class in Java, which can encapsulate multi…… -
Basic knowledge of ios10 push (required)
preface At 1:00 a.m. Beijing time on September 14, apple officially launched the official version of IOS 10. Let's giv…… -
The second step of Java wechat development is to obtain messages and reply messages
Next, in the previous article, the first step of Java wechat development API is server access for learning. Next, the …… -
Java displays the current system time
Write applet applet to receive parameters in HTML document and display the current system time in different colors and…… -
Example of realizing multithreaded communication function with java socket
This paper describes the method of realizing multi-threaded communication function with java socket. Share with you fo…… -
Analysis of java socket based programming related knowledge
1、 Two main problems in network programming One is how to accurately locate one or more hosts on the network, and the…… -
Understand memory leaks in Java and examples of Solutions
This paper introduces the principle of JAVA memory management and the causes of memory leakage in detail, and provides…… -
Example of realizing multithreaded communication function with java socket
This paper describes the method of realizing multi-threaded communication function with java socket. Share with you fo…… -
Java regular matching instance for phone number
This paper describes the method of regular matching of telephone numbers in Java. Share with you for your reference. T…… -
Deeply analyze the memory semantic implementation and application scenarios of volatile in Java
Implementation of volatile memory semantics Next, let's take a look at how JMM implements the memory semantics of vola…… -
Explain in detail the use examples of statement object statement operation MySQL in JSP
The statement object statement contains two main methods: the executeupdate () method performs data update operations …… -
Example of Java clearing garbage files from U disk memory card
Use the following example to run sort in Java 1. Enter the file path you want to sort. For example, sort the files und…… -
Java simple quick sort instance analysis
1、 Basic concepts Find an element (you can find any one in theory) as the benchmark, and then partition the array so ……