To see how manySource code, Connected to several Java build tools
1. MAVEN
I remember that the Tomcat project was built by Maven.
MVN Eclipse: eclipse-ddownloadsources = true-ddownloadjavadocs = true
2. ant
Learning LuceneCode, Check out Lucene
Generally, the efficiency bottleneck of large-scale application projects is in the database
Summarize several considerations for database efficiency optimization.
1. Avoid using the Hibernate framework
Use hibernate to insert about 50 thousand
1. download Java Web: http://www.oracle.com/technetwork/java/javase/downloads/index.htmlI got a jdk-6u43-linux-i586.bin.
Ii. Installation 1. I created a Java folder under OPT.# Mkdir/opt/Java
2. I used winscp to put the JDK file under the/usr/Java
Explanation of 23 Design Patterns in Java
Generally, a design pattern describes a proven feasible solution. These solutions are very common and are the most commonly used mode with a complete definition. The general mode has four basic elements:
1. Upload components
① Commons fileupload of Apache
② Javazoom uploadbean
③ Jspsmartupload
2. Download The fileupload component of commons.
Address: http://commons.apache.org/fileupload/
Download commons Io Components
Address:
Ideas:
1. Store the file content in stringbuffer.
2. Use the split () function to split the string. You can press (",", ".", "!", "Space", "press ENTER") to split and obtain an array.
3. traverse the array and put it into a Map . Key = word, value =
Yesterday I spoke about the singleton model. Today I will talk about the factory model.In object-oriented programming, the factory mode is a frequently used mode. In the factory mode, there is a common abstract parent class. The parent class has a
I read ahxu's article about the progress of uploading files and understood the principle. Because ahxu is not open-source, I had to write it myself for future extension, otherwise, I will not re-invent the wheel.
First of all, go to the Apache
Conversion:
Convert string to document and then to XML
Convert from XML to document and then to string
View plaincopy to clipboardprint?Convert XML to string:Public static string xmlfile2string (string filename) throws saxexception, ioexception,
Author: gnuhpcSource: http://www.cnblogs.com/gnuhpc/
1. Introduction: In the past, you wanted the program to remember the User-Defined habits, such as the UI font. You used a configuration file, but it still failed to maintain multiple users or make
I. Glossary
Internationalization is the process of designing an application that is applicable to multiple languages and regions. It is applicable to multiple languages and regions. When users in different languages and regions use this application,
The equals method is a Java. Lang. Object Class method.
There are two usage instructions:
(1) For string variables, the comparison method is different when "=" and "equals ()" are used to compare strings.
"=" Compares the values of the two variables,
Use Java to send get and post requests-Excerpted from crazy Java HandoutsThe openconnection () method of the URL returns a urlconnection object, which indicates that the application andThe communication link between URLs. The program can send a
First, let's talk about the differences between final, finally, and finalize.
Second, can anonymous inner class (anonymous internal class) be extends (inherited) other classes, or implements (implemented) interface (Interface )?
Third, the
Example 1: The application has the I/O buffer function classImport java. Io .*;Public class iotest{Public static void main (string ARGs []){Try{Filereader Fr = new filereader (ARGs [0]);Bufferedreader BR = new bufferedreader (FR );While (Br.
1. Process and thread
A process is a running program. Each process has independent resources and can be executed concurrently on the processor. Multiple processes do not affect each other.A thread is the execution unit of a process. After a process
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