This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI Requirements  RSS feed

 
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?
 
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.
 
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
 
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?
 
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
 
I am going to test your electrical conductivity with this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!