• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI Requirements

 
Marcin Kowalski
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My spec says (in short): No use of HTTP server, no require of security manager, no dynamic class downloading, do not use IIOP.

From the above I assume, that I do not have to do _anything_ special about RMI implementation. Never reference security manager, do not provide any additional configuration for my RMI registry except for port / server, do not pre-generate any stub or skeleton classes because everything will happen automatically. Simple availability of classes on classpath will make it work.

Am I right?
 
Gabriel Vargas
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marcin,


"no dynamic class downloading"


this means you must compile with rmic and provide the compiled classes to prevent this dinamic class downloading.

I hope it helps you.
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use rmic for remote class.. do it for all classes who implements Remote
 
Patrick Williams
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about rmiregistry? Do we have to ensure that it's running or will the grader have it running?
 
Gunnar Bastkowski
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Based on your assignment there is a great chance that you have to start a Rmiregistry programmatically.

LocateRegistry.createRegistr(...) would do the job.

Greets
Gunnar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic