Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Who can describe with words?

 
Timur Pogorelov
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

Can somebody describe with words following code:



Thanks a lot,
 
Roel De Nijs
Sheriff
Posts: 10374
132
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you want as explanation? The purpose of this code snippet? Did you have a look at Sun's RMI Tutorial
 
Timur Pogorelov
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No I want that somebody writes something like:

We create an instance of RMI registry...
or
we get the reference to the RMI registry...

The difference between this two sentences is that in first one we create a RMI Registry (is it true?) in the second one we'll get the reference to the existing RMI Registry.
In second case my question is: who and how initializes the RMI Registry?

Something like this...
 
Roel De Nijs
Sheriff
Posts: 10374
132
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And did you already had a look at Sun's RMI tutorial? Or did you even had a look to the javadoc of these classes and methods?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic