Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Dynamicall load the Stud and other classes??  RSS feed

 
Madhu Kaparapu
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • 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
 
Sunil Kumar Gupta
Ranch Hand
Posts: 824
  • Mark post as helpful
  • send pies
  • 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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!