1. What is serialization?Simply put, the state of various objects stored in the memory (that is, instance variables, not methods) can be read again. Although you can use your own methods to save object states, Java provides you with a mechanism better than your own to save the object state, that is, serialization.
2. Under what circumstances should serialization be performed?A) when you want to save the object state in memory to a file or database;B)
#, ASP, and so on, or PHP, C + +, Python, and other programming languages.But did not think, incredibly many do Java to transfer other languages. Hurriedly opened the station on a classic "Java Programming ideas", browse the preface and directory, seemingly Java in all aspects is very powerful!Maybe some do Java lose
conjunction with Nginx and so on, it is very convenient for everyone, will not repeat it.
The completion of the deployment, the next log and monitoring, are very common problems, the log has a corresponding library, and monitoring are dependent on professional monitoring platform, their own information output is good, please allow me to show the spring boot Remoteshell terminal monitoring, In addition to the regular HTTP output JSON information (with the health check, meter data, Dump, request
Remoteshell terminal monitoring, In addition to the regular HTTP output JSON information (with the health check, meter data, Dump, request tracking and a series of rest output), but also brought a similar top tall on the device, ssh -p 2000 user@localhost after the execution dashboard can see this real-time update of the interface.
Summarize
So much to summarize the full text of the view-although go in the language is very good, but also into a lot of best practices, but combined with many con
Many programmers respond and write their own comments when recommending them. There used to be a domestic user to introduce the programmer book list, but are recommended several top 10 books.
In fact, in addition to the top 10, the recommended number of the top 30 books are classic, the author compiled this question and answer paste, while selected passage some of the recommendations of the comments.
The following are arranged according to the recom
, constructor, method, definition. Note content can be resolved by the tool Javadoc.exe in the JDK, generating a set of documentation that is described in the form of a Web file.Note: annotations usually have two functions: (1) Note Description of the program code, and (2) can be used to debug the program.Five, Java The naming rules for identifiers in(1) consists of letters, numbers, underscores, and $, and cannot begin with a number.(2)
conjunction with Nginx and so on, it is very convenient for everyone, will not repeat it.
The completion of the deployment, the next log and monitoring, are very common problems, the log has a corresponding library, and monitoring are dependent on professional monitoring platform, their own information output is good, please allow me to show the spring boot Remoteshell terminal monitoring, In addition to the regular HTTP output JSON information (with the health check, meter data, Dump, request
-----------------Java TrainingAndroid training is expected to communicate with you ----------------------------
Next, we will upload an image. This is no different from the previous Upload File, except that the stream object used for file operations is a byte stream! Let's try it out!
// Server side public class tcpimage {public static void main (string [] ARGs) throws exception {serversocket Server = new serversocket (10909); Socket Client = server
(such as a Python dictionary literal syntax) mapped to JSON. Because of this, mapping from Java objects to JSON sometimes requires complex object instantiation and mapping, and vice versa. There are a variety of JSON libraries currently competing in this field, andJackson is the most popular, but Jackson's documentation needs to be perfected. Analog (Mocking)Mockito solves many of the pain points in testing Java
1: String(1) A sequence composed of multiple characters, called a string.In life, many data descriptions use strings. In addition, we will operate on it.Therefore, java provides such a class for our use.(2) create a String objectA: String (): No parameter constructionString s = new String ();B: String (byte [] bys): transmits a byte array as the parameter.Byte [] bys = {97,98, 99,100,101 };C: String (byte [] bys, int index, int length): converts a par
interview and other books? First of all, I work in this company so far is still relatively happy, the boss is more open-minded, allowing me to play in the module I am better at, so there is no intention of leaving, but in case of resignation for some reason? The short-term effect of this book can not only supplement the basic knowledge, but also better face the possibility of leaving the situation, and then chose this book to read.I will read this book at the same time, will I think there is a
it's just simple mutual
Code Block 2; // no order is required for rejection
} Else {
Code block 3;
}
The following code
SwitchStatement: Switch indicates the switch. The variable can beByte, short, Int, Char, BooleanThe data type of. A case must be followed by a constant expression. There can be multiple cases, but they cannot be the same. The order is not limited. The default statement is executed when none of the case statements are met and can be placed anywhere. The break stat
the big guy's springboot architecture to do the company AI official website, payment projects, artificial quality inspection projects .... (This is my own name, a small project, did not become a norm), the basic is crud work, a small amount of maintenance and new features of the development, feel not to improve, coupled with a number of students also job-hopping, pay is also good, so also began the interview ... Sentiment How to say, in this part of the work, learned something is still a lo
"Editor's note" Java is almost an introductory language for many programmers, and is also a popular programming language in the world. Andreas Kull, a foreign programmer, has compiled a very good Java development resource on GitHub and recommended it to everyone. Translation completed by importnew-Tang Yuhua. The following is a list of specific resources. Build
, Management: Must be familiar with the use of ant to complete project management of common tasks, such as Project compilation, build Javadoc, build jar, version control, automated testing.7, the wrong: should be able to be based on the abnormal information to locate the cause of the problem and approximate location.8, thinking: Must master the main requirements of OOP, so that the use of Java development system to be a real
Program | programmer
At present, Java is a developer's hot pet, many forums have a lot of love Java developers, but also many want to become Java programmers, but do not know how to learn, it is not clear what to learn what knowledge to become a Java
CloudDocker and VirtualizationMicro-Service ArchitectureV: Performance OptimizationAny out-of-details PPT Architect is bullying, up can be a strategist, down to solve the first-line performance problems, Java technology system, need to understand:Performance Index SystemJVM TuningWeb TuningDB tuningVI: Bottom-level knowledgeFrom the architecture design, to the application layer tuning, and then in-depth understanding of the underlying principles, sol
and clear and recyclable for objects that have died in the heap or that have not been used for a long time, and the programmer cannot call the garbage collector in real time for garbage collection of an object or all objects. The recycling mechanism has generational replication garbage collection and token garbage collection, incremental garbage collection.38. What is the basic principle of the garbage collector? Can the garbage collector reclaim mem
classification of unit tests that I understand2. Benefits of implementing Unit tests3. Java Programmer Unit Testing Tool LibraryDefinition and classification of unit testsThe definition of unit tests refers to the code that programmers write to test the logic code. In my understanding, unit tests are divided into the following two categories:Code testingCode testing refers to the implementation of the code
Program | Programmer Java Programmer must read: basic articles
Time: 2001/09/13 13:31 Author: ZSC Pacific Network College
2.6 What is an interface
An interface is a contract that collects methods and constant forms. When a class executes an interface, it promises to declare that all methods are executed in that interface.
An interface is a device or a s
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.