• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI: A few questions  RSS feed

 
Ina Schumacher
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi@all
There are some questions that I can't answer by myself. :-( I hope that somebody can help me a bit.
1. If there is an Exception on the Server, do the Client get any information of that? Maybe what kind of Exception it is or what to do now?
2. Do the Server know who's getting access to him?
3. How can I test my RMI-System. If I get an Error, how can I find out, where it comes from: server or client or something else.
Every answer will help me.
Thx, Sia
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ina -
1) It depends on what kind of exception it is. The client is only guaranteed to receive a RemoteException, which may or may not have more information within in.
2) The server does know the IP information associated with the client, but this is fairly low level information. There's no higher-level "user" information in normal RMI.
3) This is tricky precisely because you don't have the luxury of a single operating system monitoring and auditing the entire exchange. It's two processes on two separate machines; each process has limited knowledge of the other process' state, and there is no program that yokes together two machines in concert to maintain a consistent picture.
Without tools or a tightly-controlled environment to work in, you're usually limited to post mortem analysis -- analyzing the communication transcript between two processes after the failure, or by snooping an ongoing session.
 
Ina Schumacher
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot.
I think that will help me to go on.
Now I write a simple programm to find out how the hole system works.
Bye, Sia
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!