Core Java
How do I sort a Map by Key in Java
1210
The elements in map are stored as {<”testkey1″, “value1″>, <”testkey2″, “value2″>, Map class makes no guarantees as to the order, it is unordered
ASJAVA.COM
Distributed Java
Java RMI example – Just get starting
1500
Java remote method invocation(Java RMI) Overview In order to execute the binary class on remote machine, the traditional way is error-prone pattern and difficult to understand.
ASJAVA.COM
Core Java
How Do I Share a HttpURLConnection Sessions across Multiple Requests
01к.
HttpURLConnection is subclass of URLConnection with support for HTTP-specific features, for example: open a connection, retrieve message and post data to server.
ASJAVA.COM
Distributed Java
Java RMI error unmarshalling arguments
8780
Java RMI(Java Remote Method Invocation) is a Java API that performs the object-oriented equivalent of remote procedure calls (RPC), it allows an object
ASJAVA.COM
Core Java
java coding standards and best practices (2)
1241
1.1 java coding standards and best practices Module Organization The term module in this context refers to a source file. A source file should contain
ASJAVA.COM
Core Java
Java coding style guidelines, why need?
1210
 Java coding style to help ensure a uniformly high source code quality, so we always need to review our code keep readable, understandable.
ASJAVA.COM
Web Services
CXF wsdl2java Ant Task Example
0518
We have two ways to develop a web service, start with the XML Schema/WSDL contract first followed by the Java code second, or start with Java code first followed
ASJAVA.COM
Jetty
How do I Start and Stop Jetty Server from Ant
1166
To start and stop Jetty from Ant command line, we can use the Ant Jetty plugin jetty-ant in the codehouse trunk, it is a new plugin available in the /extras/ant
ASJAVA.COM
Core Java
Why we need to use Multiple Threads?
0740
Why Use Multiple Threads? In many situations, having more than one thread running in a program is beneficial. Here’s a more in-depth look at why this can be good.
ASJAVA.COM
Core Java
Whats these Time-consuming Operations in java
0293
Operation Coding Time-consuming(ms) Local variable Assigning i=n; 1.0 Instance Assigning this.i=n; 1.2 int increasing i++; 1.5 byte increasing b++;
ASJAVA.COM