Java
-
Easy to use ssh-struts2 01 environment for beginners (Graphic tutorial)
Firstly, SSH is not a framework, but the integration of multiple frameworks (struts + Spring + Hibernate). It is a pop…… -
Explanation of usage examples based on join() in multithreading
In thread, the join () method is used to call the thread and wait for the thread to complete before continuing to run.…… -
Simple example of connecting Oracle / MySQL database function implemented by Java [with Oracle + MySQL database driver package]
This paper describes the function of connecting Oracle MySQL database implemented by Java. Share with you for your ref…… -
How to use the Java super keyword
Super keyword in constructor In the constructor of a Java subclass, you can call the constructor of the parent class t…… -
Java implementation of simple parsing XML file function example
This paper describes the function of simple parsing XML files in Java. Share with you for your reference, as follows: …… -
Java does not need to be decompressed to read zip files and file contents directly
Sort out the documents, search out a java code that directly reads zip files and file contents without decompression, …… -
On guard thread and non guard thread of Java
Recently, I re studied the basic knowledge of Java and found that too much knowledge has been omitted in the past. Com…… -
Influence of synchronized method on non synchronized method
StringBuilder is a thread unsafe class. StringBuffer is thread safe because its methods are synchronized. Today, I wro…… -
Simple definition and usage example of Java two-dimensional array
This article describes the simple definition and use of Java two-dimensional array. Share with you for your reference,…… -
Loading order and execution results of classes in Java
The specific code is as follows: Execution results: Static method of parent class 2 static initialization block subcla…… -
Struts 2 interceptor about solving login problems
The working principle of the interceptor is shown in the figure. Each action request is wrapped in a series of interce…… -
Java programming uses stack to solve the code example of Hanoi Tower problem (non recursive)
[title] The tower of Hanoi is a classic problem. Here is a modification of the rules of the game: now the restrictions…… -
Example of Java output printing tool class encapsulation
When you print out Java and view the field value, you feel that you have written system. Net every time out. After pri…… -
Struts 2 configuration XML action details
When learning struts, we must master the working principle of struts 2. Only when we specify the implementation proces…… -
Detailed explanation of calendar class usage examples in Java
This article describes the usage of calendar class in Java. Share with you for your reference, as follows: Calendar in…… -
Explain the reflection mechanism in Java (including array parameters)
Explain the reflection mechanism in Java (including array parameters) Java reflection is what I always like very much,…… -
Java date time and date conversion
Java date, time, and mutual conversion for your reference. The specific contents are as follows The above is the whole…… -
Java to find the large number of two numbers (example explanation)
Max function in Java in math The application is as follows: int a=34; int b=45; int ans=Math. max(34,45); Then the v…… -
Java toString method rewrite code example
When you need to output an object to the display, you usually call his toString () method to convert the content of th…… -
On the process of Java recycling object tags and object secondary Tags
1、 Tags for objects 1. What is a tag? How? The first problem, as we all know, is to mark some dead objects to facilit…… -
java. Comparison between lang. void and void and introduction to their usage
Void is not a function, but a modifier of a method. Void means that the method does not return a value, which means th…… -
Detailed interpretation of Hibernate cache mechanism
1、 Why (why use hibernate cache?) Hibernate is a persistence layer framework that often accesses physical databases. …… -
Simple understanding of common tool classes in spring
File resource operation Spring defines an org springframework. core. io. Resource interface. Resource interface is def…… -
Brief introduction to Java automatic disassembly box
In the interview process, when interviewers ask basic questions, they often ask about the disassembly and assembly box…… -
be based on Spring@Autowired Annotation and automatic assembly
1 method of configuration file When we write code for the spring framework. Always follow the rule that all beans inje…… -
Four optimization methods of Java virtual machine for internal lock
Since Java 6 / Java 7, the Java virtual machine has optimized the implementation of internal locks. These optimization…… -
Struts 2 configuration action details
After implementing the action processing class, you can Configure the action in XML to let the struts 2 framework know…… -
On the significance of rewriting toString () method in Java programming
In the previous article, we introduced the code example of Java toString method rewriting. Next, we briefly talk about…… -
Access to domains and static methods based on Java does not have polymorphism (example explanation)
1. Associating a method call with a method body is called 2. Compile time binding (static) determines the type of refe…… -
Brief analysis on the opening and closing of eclipse debug mode
By default, right-click debug in eclipse. When running to the set breakpoint, it will automatically jump to the debug …… -
Introduction to common tool classes under Java language Lang package
No matter where you are developing Java applications, you have to write a lot of tool classes / tool functions. You kn…… -
Java uses future to get multithreading results in time
The future interface is a part of the Java standard API util. In the concurrent package. The future interface is the i……