Java
-
Example of using JDBC to access SQL Server 2008 database in JSP
Direct access to the database by jdbc driver advantages: 100% Java, fast and cross platform disadvantages: you need to…… -
Use cases of drop-down menu, pop-up menu and jtabbedpane components in Java Swing
Menu is the most commonly used component in GUI. It is not a subclass of component class and cannot be placed in ordin…… -
Java uses circular linked list structure to solve Joseph problem
This paper describes the method of solving Joseph problem with circular linked list structure in Java. Share with you …… -
Spring MVC framework construction and configuration method and detailed explanation
Now the mainstream web MVC framework is spring MVC in addition to struts. Therefore, this is also the mainstream frame…… -
Use instances of table (JTable) and tree (JTree) components in Java Swing
1: Table (JTable): 1. Basic concepts: Table (JTable) is a new component of swing, which is mainly used to display dat…… -
Detailed explanation of transaction management examples in spring
This article describes the transaction management in spring as an example. Share with you for your reference. The spec…… -
Method of cleaning DNS cache with Java
This article describes the method of cleaning DNS cache with Java. Share with you for your reference. The specific ana…… -
Decorator Pattern details and code examples of Java design patterns
Decorator mode can dynamically add capabilities to existing objects. Next, I will use a simple example to demonstrate …… -
Composition of basic Java tutorials
We have tried to define classes. To define a class is to create a new type. With classes, we then construct objects of…… -
Analyze the differences between abstract classes and interfaces in Java in detail
In the Java language, abstract class and interface are two mechanisms that support abstract class definition. It is pr…… -
Shell script realizes automatic installation of JDK in Linux system
A: The machine on which this script runs, Linux B: the machine on which the JDK is to be installed, Linux First, on ma…… -
Basic Java Tutorial: Hello world to object oriented
Java is a completely object-oriented language. Java realizes the concept of "cross platform" through the running mecha…… -
Java functional programming (8): string and method reference
Chapter 3 string, comparator and filter Some methods introduced by JDK are very helpful for writing functional code. W…… -
Java file read and write operation details
Directly on the code, with detailed notes and diagrams, I believe you understand! -
Java string similarity algorithm
This paper describes the Java string similarity algorithm. Share with you for your reference. The specific implementat…… -
Summary of sorting methods of sets and arrays in Java
According to the agreement, when using java programming, you should use the existing class library as much as possible…… -
Research and sharing on Java and related character set coding
This paper will describe and discuss the above issues. We will take the word "Chinese" as an example. Looking up relev…… -
Implementation interface of java basic tutorial
In the encapsulation and interface, the private keyword encapsulates the internal members of the object. After encapsu…… -
Analysis of Java object transformation
This article describes the concept of Java object transformation with examples, which can be shared for your reference…… -
Simple usage of BigDecimal class in Java
This example describes the simple usage of BigDecimal class in Java. It is a very practical skill in Java programming.…… -
-
Introduction to observer pattern of Java design pattern
When Java goes deep into a certain extent, it will inevitably encounter the concept of design pattern. Understanding d…… -
Introduction to facade pattern of Java design pattern
Definition of facade: provide a consistent interface for a set of interfaces in the subsystem. A typical application o…… -
Introduction to proxy mode of Java design pattern
Understanding and using design patterns can cultivate our good habit of object-oriented programming. At the same time,…… -
Introduction to mediator pattern of Java design pattern
Mediator definition: a mediation object is used to encapsulate a series of object interaction behaviors. Why use media…… -
Introduction to builder pattern (builder pattern) of Java design pattern
Builder pattern definition: separate the construction of a complex object from its representation, so that the same co…… -
Hunting and shooting game code based on Java Swing
This paper describes the code of hunting and shooting game based on swing in Java. Share with you for your reference. …… -
Introduction to visitor pattern of Java design pattern
Visitor definition: the operation that acts on each object in an object group. It allows you to define new operations …… -
Java: copying arrays of non basic types
What is the preferred way to copy non primitive arrays in Java? How about performance issues? Solution The old school …… -
Java Preparedstatement UTF-8 character problem
I have a prepared statement: PreparedStatement st; In my code, I try to use the st.setstring method st.setString(1,use…… -
Whether guava has command line parameter parser [closed]
Does gauva have its own command line parser? Or should I resort to jcommander / args4j / Apache cli or something? Solu……