Pierre-Hugues Charbonneau (nicknamed P-H) is a senior IT consultant and System Architect at CGI Canada. Recently, he published the article titled "top 10 causes of Java EE Enterprise Performance problems"Article, Lists the factors that have the
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
15-08Use generics in custom classes, that is, generic classes. Class worker {
} Class student {
} Class tool { Private object OBJ; Public void setobject (Object OBJ ){ This. OBJ = OBJ; } Public worker GetObject (){ Return OBJ; } } // When
Document directory
Four encapsulated Permissions
Four encapsulated Permissions
.
### Encapsulation
Encapsulation
1. encapsulation is to privatize attributes and provide public methods to access private attributes. The carrier that encapsulates
In fact, a simple understanding of network programming is two
Computer
It is easier for programmers to master a programming interface and use a programming model. Java
The SDK provides some simple APIs to complete these tasks.
Work
. Socket is
Network Programming (URL-urlconnection)
1. Class URL (java.net package)
1) a URL class represents a unified resource identifier, which is a pointer to the Internet "resource. Resources can be simple files or directories,It can also be a reference to
Java Singleton mode implementation
Singleton mode:
Q1: What is the singleton mode?
A1: The Singleton mode ensures that a class has only one instance. When you want to use this class object, you can only get one common instance. You must create an
Learning Java Desktop Application Development _ main form
Generally, all applications are login forms. After successful login, the main interface is displayed. First, check the sketch of the main interface:
It can be seen that the main interface
Spring's AOP is based on Java's dynamic proxy. Learning the Java Dynamic proxy mechanism helps you gradually understand the idea of AOP.
The traditional log output method is to write the log recording code in each business logic method. In this way,
If you want to buy a car and your primary goal is performance or, more specifically, primitive power, then the answer is clear if you choose between a 4-cylinder engine and an 8-cylinder engine, because the larger the value, the better. Generally,
1. Download and install JDK
Official Website: http://java.sun.com/javase/downloads/index.jsp
After downloading and installing the SDK, select the directory where you want to install the JDK:
For example, JDK installation directory: e: \ Java
In
I wrote some experiences about the adapter mode yesterday. I simply deleted it because it was not clearly written.
Today, I stopped electricity for one day, and I couldn't write anything during the day ~~
Call in the evening and start writing.
I
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
From: http://www.51testing.com/html/56/n-130456.html
Recent company needsTestAlthough I think this is alreadyWhite box testingBut if the leadership asks for this, I have to study the technology. the requirement is that you can pass parameters to the
Design Patterns129 what design patterns are used in development? In what scenarios?A: each mode describes a problem that is constantly emerging in our environment, and then describes the core solution of the problem. In this way, you can use
1. Runnable interface source code:
1 public interface Runnable {2 public abstract void run();3 }
2. inheritance between the Thread class and the Runnable interface
1 public class Thread implements Runnable{2 3 }
The Runnable interface has only
This article is just a summary of my younger brother's experience.
Although Java JDBC is used to connect to the database, it is difficult to have a certain MySQL Foundation. Here, I suggest using command line input,
Familiar with the syntax, the
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