1. Basic process of Java database operation2, a few common important skills:Scrollable, updated recordsetBatch UpdateTransaction processingBasic process of Java database operation: Get database connection-Execute SQL statement-Process Execution
1, syntax: Must be familiar, in writing code when the IDE editor on a line error should be able to according to the error message to know what kind of grammatical errors and know any corrections.2. Command: Must be familiar with some common commands
Java Singleton design pattern, there are many ways to implement, the following describes some of the more famous implementation methods
A Hungry man typeThis design pattern is simple, and there is no multi-threading security problem, which
/* Internal class Access features: 1, the inner class can access members in the outer class directly. 2, an external class must establish an inner class object to access the inner class. A design for the class. When analyzing a thing, it is found
1) The first letter of the class name should be capitalized. The first letter of the field, method, and object (handle) should be lowercase. For all identifiers, all the words contained in it should be close together, and uppercase the first letter
PO (Persistant object) Persistent objectIn the case of the O/R mapping, there is no such concept if there is no O/R mapping. Usually the corresponding data model (database), itself also has some business logic processing. It can be seen as a Java
A few years ago, when I was writing an application in the Java language with a software team, I realized the benefits of knowing a little bit more about the knowledge of Java object serialization than the average programmer .About this seriesDo you
"Now programming is like doing scientific research on the parts of the process that you need to solve. ”--gerald Sussman
Designing and maintaining good software is like a never-ending struggle to resist complexity. Code paths and components for
First, uninstall the system comes with the JDKIf Linux has its own openjdk, we need to uninstall it, or we can install the JDK directly.To see if the Linux-brought JDK is installed, enter the following command to view the Java version
Table of Contents
Logging Messages
The log () Methods
The Logp () Methods
The LOGRB () Methods
The last Log Methods
Adding and removing handlers
Setting a Log Filter
Setting the Log level
Parent Logger
Singleton mode: There is only one instance of an object in the context.Application scenario: thread pool, cache, etc. a system requires only one scene.Three common single-case modes:1. Lazy Loadingpublicclass Singleton { privatestatic Singleton
------Java Training, Android training, iOS training,. NET training, look forward to communicating with you! -------Queue Collection The queue collection is used to simulate the data structure of a queue, which usually refers to a "FIFO" container.
-------Android Training, Java training, look forward to communicating with you! ----------Regular Expressions: expressions that conform to certain rules, with specific symbols to express some code.Features: Used for some specific symbols to
1. Polymorphism (polymorphism):Polymorphism refers to the specific type of reference variable defined in the program and the method call emitted by the reference variable is not determined during programming, but is determined during the program's
Title: Given An array of integers, find out whether there is II distinct indices i and J in the array such That the difference between nums[i] and Nums[j] are at most T and the difference between I and j are at the most K.Train of thought: compared
Deep understandingJavaVirtual machines:JVMAdvanced Features and best practicesRead notes (Memory principle, exception handling):1. JVM Runtime, Memory partitioning: 2. Program Counter: The JVM considers this count as the number of rows that the
Java XML parsing DOM, javaxmldomDOM Parsing is one of the official XML parsing methods. You do not need to introduce a third-party package when using it. The code is easy to write and the tree structure is easy to modify, however, since DOM parsing
Java: Object-oriented Programming
1. Class
The class consists of three parts:
Class Attribute: used to describe the attributes of the things abstracted by the class itself.
Class Method: used to describe what this abstract thing can do
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service