JVM Languages
xander.txt
Associated article: Building Dynamic Fail-Over Java Servers
Tags: Web Development JVM Languages
Published source code accompanying the article by Chang Sau Sheong in which he presents a server written in Java that has the robustness and hardiness to survive hardware failure. Also see XANDER.ZIP.
Building Dynamic Fail-Over Java Servers
by Chang Sau Sheong
Listing One
public class Server {
...
public static void main(String[] args) throws IOException {
// use the current cluster status
Status status = Status.getInstance();
Config config = Config.getInstance();
...
status.setRunningServer(server_ip);
status....


