Distributed Java
Java RMI example – Just get starting
144
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
088
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
8130
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)
126
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?
134
 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
084
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
124
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?
092
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
037
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
Core Java
How do I Stop/Suspend a Java Thread
047
If using  methods stop/suspend to stop a thread, this is unsafe and thus deprecated. If a thread being stopped now is modifying common data, that common
ASJAVA.COM