• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RMI question?

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,
Just a quick question. Is it fine to have the server.jar in the classpath of the client.jar or must the stub classes be download from the server?
Regards
Fred
 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I placed my needed stub files inside of the client.jar so, that the client.jar is not dependant on the server.jar
 
Fred Barnes
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Matt,
Thank you for your reply!
I was thinking if you include the needed stub class in you client.jar and there needs to be changes on the server side the client.jar need to be updated. However if the stub classes are downloaded this would be avoided.
What are you comments on this view...
Regards
Fred
 
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


I was thinking if you include the needed stub class in you client.jar and there needs to be changes on the server side the client.jar need to be updated. However if the stub classes are downloaded this would be avoided.


To dynamically download the stubs, you need an HTTP server running from where these stubs can be downloaded upon request. That means that you need to write your own HTTP server and include it with your submission, or assume that the assessor will have the HTTP server running and point your codebase to that server. All of these are very risky propositions, and I strongly advise you not to rely on dynamic downloading. Simply package your stubs with the client, and you pass!
Here are some other things NOT to do.
Eugene.
[ January 22, 2003: Message edited by: Eugene Kononov ]
 
Fred Barnes
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Eugene,
Thank you for your kind reply!
Regards
Fred
 
reply
    Bookmark Topic Watch Topic
  • New Topic