For Java beginners, want to learn the Java tutorial, need to understand that the foundation is good to learn better, Java Tutorial Learning Java Roadmap Five of the necessary stages, hoping to help Java learners.
The first phase- Java Foundation
1. Java SE (Java platform,standard Edition). Java SE was formerly known as J2SE. It allows development and deployment on the desktop,
Java applications used in servers, embedded environments, and live environments. Java SE contains classes that
Objective
Today almost most Java applications, such as our familiar Tomcat, struts2, Netty ... And so on the number of the software, to meet the versatility, will provide the configuration file for users to customize the function.
Even some
Reflective technology is used in many mainstream frameworks. Like the SSH framework, two technical XML files are used to do the configuration file + reflection technology.
The class package that is associated with reflection.
java.lang.reflect.*;
Java uses POI to import data from a database into Excel
Effect:
Use the first POI package into the project path, note that only need to import POI package can be downloaded after three jar package
Core code:
Connection database:
By using COM technology, we can build a lot of application extensions with Microsoft Office applications, but Java developers can't enjoy the convenience they have-unless they have a convenient Java access to COM (java-to-com Bridge). With jcom, you
A lot of students for overload and override silly points, suggest not to rote conceptual knowledge, to understand to remember.
First give me the definition:
overload (Overload): A group of methods that have the same name and different parameters
Pagination should be the work that we often do when we develop Web applications, and it is important to be able to achieve a more concise implementation of the database and view-tier pagination.
In the database layer, the hibernate is used for
Appearance mode: Also known as façade mode: Facade façade provides a consistent interface for a set of interfaces of a subsystem, making this subsystem easy to use (by introducing a new appearance role to reduce the complexity of the original system,
This example for you to share the Java Chat Room code, for your reference, the specific contents are as follows
Mainly involved in knowledge
· Java GUI program writing, including event monitoring mechanism.· Java network communication Programming,
File upload is very common in Web applications, it is very easy to upload the file in the Java Web environment, because there are already many Java-developed components used for file uploads, this article, for example, demonstrates how to use the
Final is literally understood to mean "last, final". This is also true in Java.
Final can be used to modify variables (including class properties, object properties, local variables, and formal parameters), methods (including class methods and
Nonsense not much to say that directly on the code
Copy Code code as follows:
Package com.ncu.list;
/**** Sequential Structure Linear list***/public class Squencelist {private int size; The length of a linear tablePrivate object[]
First, the Java file Rename method is: Renameto ();
I put 180 pictures under d:\\backup and rename them with the following program:
Copy Code code as follows:
public void ReName () {
String dir = "d:\\backup\\";
File File = new file (
When I was in college, I saw the second edition of the Java Virtual Machine specification, and recently reviewed the latest Java Virtual Machine specification third (Java SE 1.7) and found that the file structure of Java class in the Java Virtual
The Synchronized keyword, which represents the lock on this method, is equivalent to checking that any thread a runs to this method every time it has a thread B (or C d, etc.) that is using this method, and so on, with the thread B (or C D after
Starting with Java 5, the Java.util.concurrent.locks package contains some of the lock implementations, so you don't have to implement your own locks. But you still need to know how to use these locks.
A simple lock.
Let's start with a
Java5 already contains a read-write lock in the Java.util.concurrent package. Still, we should understand the rationale behind its implementation.
Java implementation of read/write locks (Read/write lock Java Implementation)
Read/write
For example, I would like to http://v.youku.com/v_show/id_XNDM2Mjc0MzAw.html this video now. Here we are going to get the ID of the video, which is the Xndm2mjc0mzaw part, this is a video unique, so it will definitely be used when parsing.
In order
First, insert sort algorithm to implement Java version
public static int[] Insert_sort (int[] a)
{to
(int i = 0; i 0&am p;&j
Second, the choice of sorting algorithm to implement the Java version
public static int[] Select_sort
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