• 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 solution

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello!
I'm a new one in SCJD who just starting study the tutorial of RMI. and I'm doubting about that if there are any tidy way to using RMI?
in tutorial, we must do many jobes to make our RMI example run. If I use the same solution in my assignment, I think it is really too bad.
well, could we have a tidy way to use RMI, like a just double-click the jar file..
 
town drunk
( and author)
Posts: 4118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi keisin,
Welcome to the ranch. Given your last statement, about double clicking the jar, I'm not sure that RMI works the way that you think it does. Given that, it might actually be a good idea to step through the sun tutorial: and yes, I know it can be tedious > I'm happy to be helpful on this topic, but I doubt that I could be more clear then Sun's documentation right now. Please give it another go.
All best,
M, author
The Sun Certified Java Developer Exam with J2SE 1.4
 
keisin syu
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks, MAX.
and my question now is that:
when I prepare to run the server, and I found that there are three parameters in the option of command-line.

I'm using ClassFileServer provided by the tutorial. and I think the "codebase" is the name what i gived to ClassFileServer(is it right?). and how about the host name? does it meant that i should use some tools(such as Apache..) to be able to provide this?
 
Max Habibi
town drunk
( and author)
Posts: 4118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, just use your own machine's ip address.
M, author
The Sun Certified Java Developer Exam with J2SE 1.4
 
keisin syu
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks!
I had changed the hostname to the IP address of my PC. but I still got the exception of unkown host.
(BTW, I'm doing the same thing as on the RMI tutorial. it happened when i want to run the engine.ComputeEngine)
 
I got this tall by not having enough crisco in my diet as a kid. This ad looks like it had plenty of shortening:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic