• 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

How to Dynamicall load the Stud and other classes??

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am doing rmi based project, initially i used to copy the stubs class and other necessary classes to client system and start running the code. But i need to load stub classes dynamically when the client program starts.

But i don't know how to used the java.rmi.server.codebase property properly,
the codebase property will works for http,ftp,file.

i don't know the correct syntax for how to use the above three formats and my project is not a web based project so i cannot use http, i think to use "file" for codebase , but i don't know how the client program will access the remote stub.
please clarify my doubts briefly

Regards
Madhu Kumar
 
Ranch Hand
Posts: 824
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check this ...I am sure you will get answer of your problem

http://java.sun.com/j2se/1.3/docs/guide/rmi/codebase.html


Enjoy
 
it's a teeny, tiny, wafer thin ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic