Win a copy of Spark in Action this week in the Open Source Projects forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

RMI Requirements

 
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
    Bookmark Topic Watch Topic
  • New Topic