🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.java
1 messages
1 total messages Started by cuanza Mon, 07 Jul 1997 03:39
RE: detect remote object failure in RMI
#728
Author: cuanza
Date: Mon, 07 Jul 1997 03:39
17 lines
1370 bytes
Hi there:
Does anyone know how do detect remote object failure in RMI of Java such as
CORBA::Object:: non_existance();
e.g.
Hello obj =(Hello) Naming.lookup("//"+severURL+"/HelloServer");
String message = obj.sayHello();
pause();	// pause this program for a while and kill Server(ie HelloImpl) in
the meantime
obj =(Hello) Naming.lookup("//"+severURL+"/HelloServer"); 
// Even though Server been killed but not the registry; we still receive
object reference obj  
// However how to detect Server when is dead

Thanks in advance,

Stephen
Email:stephen@iis.sinica.edu.tw
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads