Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

no dynamic code download for RMI

 
Maciej Miklas
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchos,

what does it mean: "You must provide all classes pre-installed so that no dynamic class downloading occurs."

is is enough to generate stub with rmic?

Thanks,
Maciej
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's exactly what you must do: use rmic to generate the stub and package the stub with your submission.
 
mohamed sulibi
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this mean that :
you must put the stub class file in two location ( server, client) to prevent the rmi from dynamically downloading the stub at client side from server side ,
if you don't do it, the rmi will dynamically download the nesseccary classes from pre-defined web-server that will must implements, and need more security file to do it,
but when you put the class in two side you don't need these ( security file, and web-server).

best regards.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic