• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

RMI

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
Is it necessary to implement an HTTP server in RMI? I want to be sure aabout this as most of the documentation available is relaated to HTTP server.
Thanks,
Anil
 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi AnilS,
No.You can use any valid URL protocol such as HTTP, file or ftp . You can set codebase property to handle any one of these protocols. HTTP is a preferred way as it makes things easy by providing an automated mechanism for downloading class files.
Hope this helps.
Regards,
Milind

[This message has been edited by Milind Kulkarni (edited June 03, 2000).]
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Milind,
Could you please explain exact steps required to test RMI using File:// URL ? I was trying to test an RMI application using file:// URLs for codebase but was unsuccessful. I was able to run RMI applciation using the minimal class server from Sun. But I would like to understand the details of using file:/// URL also.
All the tutorials I read do confirm that we can use file:/// URL as server's codebase if both RMI server and client are running on the same machine. But all of them have examples only on HTTP:// codebase and most of the time using applets only.
If I use HTTP URL, HTTP server dynamically downloads the _stub and other class files from server's codebase to RMI client right ? With file:/// URL as codebase, is there still a need to download the .class files to client JVM ? if yes how does it take place ?
Thanks for your help,
Mahesh H.
 
Milind Kulkarni
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mahesh,
Check out the following file:
ftp://ftp.javasoft.com/pub/jdk1.1/rmi/class-server.zip.
Regards,
Milind

[This message has been edited by Milind Kulkarni (edited June 05, 2000).]
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic