1.JDBC > ODBC2. Database Connection pool > JDBCComparison of C3P0,DBCP and Proxoolhttp://blog.csdn.net/zzjjiandan/article/details/23663549C3P0 Principle Analysis: http://www.cnblogs.com/leeying/p/3745588.htmlC3p0:https://www.oschina.net/p/c3p03.
Previous projects have put Jenkins in place and now add MAVEN projectsPreparatory work
Installing plugins
Git Plugin
Publish over SSH
Global Settings
Key: Is the private key of the Linux server
One, for the use of the cycle of the occasionL While loop--First judge, recycleWhile (1, conditional expression ) {//2 , cyclic operation//3 , changing the loop condition expression}L do...while--Cycle First, then judgedo{//2 , cyclic operation//3 ,
Method rewrite/overwrite (override)Characteristics:1 typically occurs between parent and child classes, subclasses override methods in the parent class, the return value type of the method, the method name, and the formal parameter list are the same
What the generics mean is not much to say, and the definition of generic classes in Java is relatively simple, for example: public class test{}. This defines a generic class Test, which, when instantiating the class, must indicate the specific type
One, String class1. String is a class that is located in the Java.lang package2.2 ways to create a string object:String Variable name = "Value";String Object name =new string ("value");3. Common methods of string3.1 String length--length ()3.2
1 Annotations: annotation annotations, is a code-level description. It is a feature introduced in JDK1.5 and later versions, with classes, interfaces, enumerations at the same level, to the computer, and to the JVM to provide interpretation
PackageCom.xiaowu.demo;/*** Give a positive integer not more than 5 bits, ask: ① It is a number of digits; ② print out your numbers in reverse order. * * * @authorWQ **/ Public classDemo23 { Public Static voidMain (string[] args) {f (123789); }
The purpose of an iterator is to fetch the elements in the collection.Iterator methods:Hasnext () asks if there are elements that can be traversed. Returns true if there are elements that can traverse, otherwise false is returned.Next () Gets the
Io Stream (Input Output):The main function of IO technology is to solve the problem of data transmission between equipment and equipment. For example: Hard disk---> Memory memory----> data-------the keyboard on the hard drive > in memoryApplication
The scope of the variable (valid scope of use)1. There are 2 kinds of variables1.1 member variables (attributes)declaration in the inside of the class, outside of the method1.2 Local variablesDeclared within a method or for loop structure2.
PackageCom.xiaowu.demo;/*** Enter a line of characters to count the number of letters, spaces, numbers, and other characters in each of them. * * @authorWQ **/ Public classDemo7 { Public Static voidMain (string[] args) {String s= "Hello world!
Definition and use of abstract classesAn abstract class cannot be instantiated, but an array type of abstract class name can be, see case1 Packagecom.example;2 3 4 Public classShapetest {5 Public Static voidMain (string[] args) {6shape[]
Recently learning Java Web, in the learning process to achieve a requirement, that is, when the JSP page jumps, I hope the new page after the jump opens in a new window,Instead of covering the original page, this requirement puzzled me for a long
Package test;Import java.util.ArrayList;Import java.util.List;Structural modification of parentlist, access to sublist throws an exceptionpublic class Testsublist { public static void Main (string[] args) { list parentlist = new arraylist (
1. The inline function means that the function is directly expanded where it is called, and the compiler does not need to use the same function as the normal functions, the reference stack, the return of the stack and the release of resources, and
Java NiO OverviewJava NIO full name java new IO,Is the API provided in jdk1.4.The most basic differences between Java NiO and IO1. Reading and Writing methodsIo is stream-oriented and can only be moved in one direction, one input stream (inputstream)
[JAVAWEB learning notes] 29_file upload ------ commons-fileupload, commonsfileupload
Today's content:
File Upload ------ commons-fileupload
Object uploading and downloading: Object copying
File Upload: to copy a file from a local file to a server
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