Home> Network programming tutorial
All ASP tutorial ASP tutorial ASP.NET tutorial PHP tutorial JSP tutorial C#/CSHARP tutorial XML tutorial Ajax tutorial Perl tutorial Shell tutorial Visual Basic tutorial Delphi tutorial Mobile development tutorial C/C++ tutorial Java tutorial J2EE/J2ME Software engineering
Network programming tutorial
  • Java jvm execution program process

    Java jvm execution program process

    The execution process of Java's jvm: each instruction is translated into different platform machine codes through the JVM, and run through a specific platform. 1. Load class files; 2. Manage and allocate memory; 3. Perform garbage collection; 4. Java
    2022-05-25
  • Object storage and retrieval of java ThreadLocal

    Object storage and retrieval of java ThreadLocal

    java ThreadLocal object storage and acquisition: 1. From the set method, a copy of the variable copied by the current ThreadLocal is stored in ThreadLocalMap; 2. ThreadLocal itself does not store values ​​and is used as a key.
    2022-05-25
  • What is the memory model in java? What's the use?

    What is the memory model in java? What's the use?

    The memory model in Java is: 1. An abstract concept that has many similarities with the memory model of a computer; 2. It includes threads, working memory, and main memory; 3. The working memory can be compared to a computing cache, and the main memory ca
    2022-05-25
  • Future gets thread result in java

    Future gets thread result in java

    Future gets the thread result in Java: 1. Represents the result of an asynchronous task that may not be completed yet; 2. A Callback can be added to this result to perform corresponding operations after the task execution succeeds or fails.
    2022-05-25
  • Reentrant testing of java ReentrantLock

    Reentrant testing of java ReentrantLock

    Reentrant test of java ReentrantLock: 1. It is a reentrant read-write lock. The read-write lock maintains a ReadLock and a WriteLock internally; ReentrantLock is implemented using CAS+AQS queue. It supports the use of fair locks, unfair locks, and reentra
    2022-05-25
  • Introduction to php message queue

    Introduction to php message queue

    Introduction to PHP message queue: 1. The message queue is a queue stored in memory. 2. Since only one process can access the data in the message queue, no additional locks or semaphores are needed.
    2022-05-24
  • Use of PCRE2 in php

    Use of PCRE2 in php

    The use of PCRE2 in PHP: 1. Starting from PHP7.3, PCRE2 will be used as a new regular engine. 2. Existing regular expressions need to be migrated to comply with PCRE2 rules. These rules are more intrusive than before.
    2022-05-24
  • Use of trailing comma in php

    Use of trailing comma in php

    Use of trailing commas in PHP: 1. Append trailing commas at the end of parameter, element, and variable lists. 2. This feature has been allowed to be used within arrays, and starting from PHP7.2, the grouped namespace syntax also begins to support trailin
    2022-05-24
  • The use of Heredoc and Nowdoc syntax in php7.3

    The use of Heredoc and Nowdoc syntax in php7.3

    The use of Heredoc and Nowdoc syntax in php7.3: 1. Heredoc and Nowdoc syntax can be of great help when using multi-line long strings. 2. Indentation is supported before closing the identifier, and line breaks are no longer forced after closing the identif
    2022-05-24
  • php what does PSR-4 mean?

    php what does PSR-4 mean?

    The meaning of php PSR-4: 1. PSR-4 standardizes the specified file path to automatically load classes, and also standardizes the location of automatically loaded files. 2. Under the PSR-4 key, you can define the mapping relationship between namespace and
    2022-05-24
  • How does Scanner obtain a string in java

    How does Scanner obtain a string in java

    Scanner in java obtains a string: 1. next method, the entered valid character is followed by a space, next() will use the space as the terminator; 2. nextLine method, with Enter as the terminator, that is, nextLine() method What is returned is all the cha
    2022-05-24
  • What are the interview questions about locking in Java?

    What are the interview questions about locking in Java?

    Interview questions about locks in Java: The types of locks in Java are divided into six types. The two most common locking methods we have come across are lock and synchronized. This is also the most frequently asked principle and mechanism question in i
    2022-05-24
  • Configuration of java mybatis framework

    Configuration of java mybatis framework

    Configuration of the java mybatis framework: 1. Configure databases. Multiple databases can be configured, but only one can be used by default; 2. Configure SqlSessionFactory. In addition to using XML-based configuration creation, the interface can also b
    2022-05-24
  • Download and installation of mybatis in java

    Download and installation of mybatis in java

    Download and installation of mybatis in java: 1. Unzip the downloaded mybatis-3.5.5.zip; import all jar packages under the lib path, as well as the jdbc driver packages required by jdbc and corresponding to the database into the project.
    2022-05-24
  • How to convert Arrays to list in java

    How to convert Arrays to list in java

    Arrays conversion list in java: 1. List is only used for traversal, use Arrays.asList(); 2. List also needs to add or delete elements, use new java.util.ArrayList, and then add elements one by one; 3. Suitable for arrays of object data.
    2022-05-24