• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java RMI

 
Christopher Keah
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got an issue running the java RMI tutorial on my macbook.
I can start the RMI registry the first time I run the server app.
But the 2nd and subsequent run, I get the following exception.



I do the following,



It looks like the RMI registry is already running in the background or the port is never freed after the server application terminates.
Any ideas?
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This answer doesn't help with your specific issue, but why are you trying to use RMI?

Its completely obsolete. See http://www.coderanch.com/t/570237/java/java/Why-there-still-interest-lots
 
Christopher Keah
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
I do understand that RMI is "blown glass" fragile.
I'm trying to get familiar with the protocol for an upcoming SCJD.
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Christopher Keah wrote:I'm trying to get familiar with the protocol for an upcoming SCJD.


Best of luck on the test.

I do wish they would drop that whole topic. Would be better for all of us.
 
yadave Franklin
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This tutorial attempts to appearance the aspect of RMI, after discussing any accidental features. Sun has provided a Adviser to RMI, but it includes a lot of actual that is not accordant to RMI itself. For example, it discusses how to absorb RMI into an Applet, how to use bales and how to abode aggregate classes in a altered agenda than the antecedent code. All of these are absorbing in themselves, but they accept annihilation at all to do with RMI. As a result, Sun's adviser is unnecessarily confusing. Moreover, Sun's adviser and examples omit a amount of data that are important for RMI.

There are three processes that participate in acknowledging limited adjustment invocation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic