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.JDBC OverviewA. What is JDBC?Java DataBase Connectivity: is a Java API for executing SQL statements, consisting of a set of classes and interfaces written in the Java language. Through these classes and interfaces, JDBC sends SQL statements to
1. Collection is a top-level interface to the collection class, and its direct inheritance interface has a list and setCollections is a tool class/helper class for the collection Class , which provides a series of static methods for sorting,
These days to do a project in the use of FTP file transfer, Java implementation of the ftp file download.First, win7 the FTP server to buildSee: http://jingyan.baidu.com/article/4b52d7026f50eefc5c774bcc.htmlSecond, the implementation of Java FTP
/* 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
Properties ClassImport Java.io.filereader;import java.util.enumeration;import java.util.properties;/* * Properties class, key-value pairs collection, is a subclass of Hashtable * but can only store string key value pairs */public class test07{
StringBufferCharacteristics:
is a string buffer.
is a container whose length is variable and can be manipulated to add multiple data types.
Finally, the ToString method becomes the string.
is modified by the final lock and
Problem HistoryEditIt is said that the famous Jewish historian Josephus had the following story: After the Romans occupied Chotapat, 39 Jews and Josephus and his friends hid in a hole, and 39 Jews decided that they would rather die than be caught by
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
-------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
Today the scene WebLogic reported Java.lang.OutOfMemoryError:GC overhead limit exceeded, in Metalink looked under, there is a clear explanation, to set a JVM parameter, However, since the current WebLogic memory is set to 4G, so setting the
Anomaly Classification Plots:Throwable|--error serious problems that we do not deal with.|--exception|--runtimeexception run-time exception, we need to fix the code|--non-RuntimeException compile-time exception, must be handled, or program
Recommended 2 tool classes that can reduce the amount of code and are easy to use during coding: for Java reflection and single-measurement assert.1 Introduction to Mirror:java ReflectionOfficial website:
The first time I wrote a blog, a simple example: Reading and Writing txt files in java, I hope this is a good start ., Javatxt
As a beginner developer, I search for others' code on the Internet every day, and then repair, modify, and apply the Code
Sonar installation and code quality check instances and sonar code check instances
Note: sonar depends on the database.
Mysql Optimization
1. I am using the mysql database. I will first make simple Optimization Configuration for mysql.
[Root @
Simple use of POI and simple use of POI
I. Introduction
You can use the POI tool to export office files such as word, excel, and ppt.
2. Sample Code
Package com. wang. test; import java. io. file; import java. io. fileOutputStream; import java.
Use the nslookup command in JAVA
With dnsjava tools, you can easily achieve nslookup simulation, dnsjava official website, dnsjava-2.1.7.jar download
Package cn. baokx; import java.net. inetAddress; import java.net. unknownHostException; import
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