This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hi friends: When start a client, the DNS name or the IP address of server is needed. (and I think they are just the hostname for RMI, is it right?), if the server can display it's DNS name or IP address after it start, the testing of client will be convenience. Is there any method in Java can display the DNS name or IP address of the machine which the application is running on?