This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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?