Tomcat
How to Get Tomcat Port Number in Java Code
0125
Which file defines the Tomcat Port? The configuration of tomcat presents in server.xml and located under {Tomcat installation folder}\conf\, open the server.
ASJAVA.COM
Tomcat
How to Change Tomcat Port
050
In Tomcat, all configuration information are maintained in file server.xml, the default tomcat port number is 8080. However the default port might conflict
ASJAVA.COM
Swing
How to Center a Window on Screen
238
The customers’ computer has various resolution, it’s really hard to calculate location of frame to center a on screen. here is a piece of code to share to you.
ASJAVA.COM
Web Services
CXF web service client example
0160
CXF Client overview In previous chapter, we introduced get starting CXF web service example and CXF interceptor, CXF also provides you with many options
ASJAVA.COM
Core Java
How to sort an array in java
079
A Java array is an indexed table with a fixed number of slots, each slot holds a item, and all elements have the same type, this tutorial will demo how
ASJAVA.COM
Web Services
CXF Interceptor example: how to get HTTP Headers in CXF
1295
CXF Interceptor Overview: CXF has high federated extensibility which benefits from the design of interceptor and InterceptorChain, Interceptor is the fundamental
ASJAVA.COM
Core Java
How do I Get User Application Data Directory in Java?
1113
The Java program sometimes need to access the user application data directory, to save or get some temp or cache dates, the application data file path
ASJAVA.COM
Core Java
How to recursively List All Files in a Directory in Java
047
The propose of this tutorial is to demonstrate how do I list all files In a directory in Java, unfortunately, such common function isn’t supported in JDK
ASJAVA.COM
Core Java
Java Interview Swing Questions
0114
Here list some java interview swing questions: Interview Questions (1):  What’s swing? Answer:  It is the Java graphical user interface (GUI) toolkit which
ASJAVA.COM
Core Java
How do I sort a Map by Key in Java
143
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