I often face with the necessity of programmatical RMI registry starting. So, this is a solving:
try {
java.rmi.registry.LocateRegistry.createRegistry(1099);
System.out.println("RMI registry ready.");
} catch (Exception e) {
System.out.println("Exception starting RMI registry:");
e.printStackTrace();
}
Showing posts with label RMI. Show all posts
Showing posts with label RMI. Show all posts
Tuesday, July 24, 2007
How to start RMIRegistry programmatically
Автор
Frog007
на
7:34 AM
15
комментария(ев)
Subscribe to:
Posts (Atom)