2016-04-18 20:40:59Third, JVM memory parameter adjustment and monitoring3.1 JVM in-memory adjustmentThe memory size of the data area of the JVM runtime can be set by parameters, typically two blocks are heap space and persistent generation (method
The first is Java Foundation Java SE, which is used to develop and deploy Java applications in desktops, servers, and embedded devices and in real-time environments. )Then Java EE(Java Enterprise Standard Development), learn the servlet(Controller),
You first need to annotate the code with documentation, such as the following:
Package ? wz.learning;??
???
/**?
?*? Title:person?
?*? Description:?
?*? COMPANY:SKJP?
? *[email Protected]?xiashengwang?
? *[email protected]?
7. member variables and local variablesMember variables: defined in a class to describe what the object will beLocal variables: defined in a method of a class to hold temporary data in a methodDifference: scope is differentThe scope of a local
Class b{public static void Main (string[] arg) {Class c_a = class.forname (PackageName + "." + "a");Object obj_a = C_a.newinstance ();Method do_m = C_a.getdeclaredmethod ("Do", New class[]{});Prepare data for the MathodDo_m.invoke (obj_a, New
Threads are different execution branches within a program, there are two main ways to implement multithreading: Inherit from the thread class or implement Runnable interface, in fact, the thread class is also implemented Runnable interface, based on
1. jar packages that need to be imported2. Exporting word and downloading is actually two-step.The first step is to export (upload) the data that needs to be exported to the serverThe second step is to download the documents on the server to the
Channels are a channel for transmitting data, both buffers and entities (files or sockets), and the characteristics of the channel (which is also characteristic of NIO): The data in the channel is always read into a buffer, or it is always read from
Java memory leaks are the problems that every Java programmer will encounter, the program is running all the normal local, but the deployment of the remote memory will be unlimited growth, the final system is paralyzed, then how the fastest best
Original source: http://www.cnblogs.com/xrq730/p/4865416.htmlCode optimization Details1. Specify the final modifier of the class and method as much as possibleA class with a final modifier is not derived. In the Java Core API, there are many
What is garbage collection?Garbage Collection GC (Garbage Collection) is one of the core technologies of the Java language, and the purpose of garbage collection is to purge objects that are no longer in use. The GC determines whether to collect the
Summary of learning contents of teaching materials tenth. Input/output
Read and write files
The basis of network upload data
Parent class
InputStream and OutputStream
Stream is an abstraction of "input output",
Original address: http://www.cnblogs.com/xudong-bupt/p/3961159.htmlIn Java, String, StringBuffer, and StringBuilder are frequently used strings in programming, and the differences between them are frequently asked questions in the interview. Now
Vector:The bottom layer also maintains an object array, and the implementation is the same as ArrayList,But its threads are safe and inefficient. In addition to the older system, it will not be used.Written question: The difference between ArrayList
Container -- EnumMap, enummap
I. Overview
EnumMap is a special type of Map. Its special feature is that the KEY must be of the enumeration type. Because the enumeration type features that the number of values is fixed, for EnumMap, the number of
SQL. xml for Batch Data uploading and SQL. xml for uploading
Note: using the mapper proxy method for development, namespace plays a special role. namespace must be consistent with the interface name.-->Id: identifies the SQL statement in the ing
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