The earth has been moved to a vibrating state. Use the Httpservice method in flex to interact with Java:
First, write the server:
1. Building a Web project in MyEclipse
2. Write a servlet to print XML
3. Do not overwrite remoting-config.xml files
First, install the JDK
1. See if Linux is installed with its own JDK
If OPENJDK is present, it is best to uninstall the OPENJDK and install the Sun Company's JDK.
2. View JDK Information
3. Uninstall OPENJDK and do the
Article Source: Pconline Author: Fivesky
Have you heard of the jar file? or unfamiliar! OK, that's okay, this is our first stop: Pack and release.
Why is this thing, first of all, this is the full name of the jar: JavaTM Archive (jar) file, yes,
Interpretation of tounsignedstring method
See in the integer there is such a method to convert int to unsigned type string, but a few points are not very clear, after the query data to understand, read as follows:
/**
* Convert the
Projects often have to deal with the needs of time, the following is a number of commonly used operations collation, easy to reuse later and do related review.
1. Convert String to date
/**
* String converted to date
* @param datestr
Introduction to DES encryptionDes is a symmetric encryption algorithm, the so-called symmetric encryption algorithm is: Encryption and decryption using the same key algorithm. DES encryption algorithm from IBM's research, and later was formally
Don't say much, go straight to the subject, follow the small weave to look down:
1. First convert the Map object to set and then to the iterator
Iterator iterator = Map.entryset (). iterator ();
while (Iterator.hasnext ()) {
Entry Entry =
Multithreading detail Issues
The similarities and differences between the sleep method and the wait method?
Same point:
Put the thread in a frozen state.
Different points:
Sleep must specify timeWait can specify a time, or you can not specify a
1. Save the object to the file
The Java language can only save objects for classes that implement the serializable interface to a file, using the following methods:
public static void Writeobjecttofile (Object obj)
{
file file =new
1. Use the indexof () and substring () provided by the string class to quickly get specific content in a file
public static void Main (string[] args) {
//test where a word appears
String reqmessage = "" + "" + "" + "1.0.1"
+ " 100000000
Error javax.xml.transform.TransformerException:java.lang.NullPointerException solution for Java xml:
Using Java to manipulate XML, in the process of XML operation, to the last step, in the use of transformer XML conversion occurs when the
1. First, string does not belong to 8 basic data types, and string is an object.
Because the default value of the object is NULL, the default value of string is also null, but it is a special object with some attributes that other objects do not
The example of this article for everyone to share the Java translation of the value of garbled problem, as well as the solution, for your reference, the specific contents are as follows
General encoding format settings:
1. Can be encoded after two
To tell you the truth, I don't really like the language of Java, although it is very powerful, there are many out-of-the-box APIs that can call
But I always feel like it makes simple things too complicated, and sometimes it gets lost.
It's not clear
For example, I have the following list, which holds multiple employee objects. Then I want to make a fuzzy query about the list by the name of the Employee object. Do you have any good solutions?
For example, if the query I entered is "Wang", then
In Java, in addition to binary files and the use of text files, there is data based operations, where data refers to the Java basic data types and string. Basic data types include byte, int, char, long, float, double, Boolean, and short.
When it
Analysis of Java serialization algorithm
Serialization (serialization) is a process of describing an object in a sequence of bytes; Deserialization deserialization is the process of resetting these bytes into an object. The Java Serialization API
I'm going to tell you that generics are a what. I really can't say it, this is first introduced by a problem:
Defines a coordinate point class that requires the ability to save various types of data, such as: cosmetic, floating-point, and string
A class that implements the Runnable interface must use an instance of the thread class to create a thread. Creating threads through the Runnable interface is divided into two steps:
1. Instantiate the class that implements the Runnable interface.
In the "in-depth analysis of Java internals" You can learn something about the Java inner class, but there are some places in the inner class that deserve our careful study ...
Here are some of the things that I've summed up in the Java inner class
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