Dear Friends
i have 2 questions
1-is there is any way the rmi server can know that a certain a client is connected and then know when it leaves.
i want to implement a method that close thee server but i just want to check that no more clients are connected..
2.a more simple question
interface x extends Remote
{public void m () throw RemoteException
}
////////////////////
class c extend uni... implement x
{
public void m() throws Remote Exception{}
}
y do we always make the class that implement a remote interface always throw remoteexecption in the implemented methods, lthough this will force noone to catch them
thanks
i have 2 questions
1-is there is any way the rmi server can know that a certain a client is connected and then know when it leaves.
i want to implement a method that close thee server but i just want to check that no more clients are connected..
2.a more simple question
interface x extends Remote
{public void m () throw RemoteException
}
////////////////////
class c extend uni... implement x
{
public void m() throws Remote Exception{}
}
y do we always make the class that implement a remote interface always throw remoteexecption in the implemented methods, lthough this will force noone to catch them
thanks