• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI solution

 
keisin syu
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • 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..
 
Max Habibi
town drunk
( and author)
Sheriff
Posts: 4118
  • Mark post as helpful
  • send pies
  • 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
  • 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)
Sheriff
Posts: 4118
  • Mark post as helpful
  • send pies
  • 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
  • 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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic