Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!