Core Java
The elements in map are stored as {<”testkey1″, “value1″>, <”testkey2″, “value2″>, Map class makes no guarantees as to the order, it is unordered
Distributed Java
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.
Core Java
HttpURLConnection is subclass of URLConnection with support for HTTP-specific features, for example: open a connection, retrieve message and post data to server.
Distributed Java
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
Core Java
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
Core Java
Java coding style to help ensure a uniformly high source code quality, so we always need to review our code keep readable, understandable.
Web Services
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
Jetty
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
Core Java
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.
Core Java
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++;