aspose file tools*
The moose likes Distributed Java and the fly likes Rmi basic, why skeleton is not needed ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Rmi basic, why skeleton is not needed ?" Watch "Rmi basic, why skeleton is not needed ?" New topic
Author

Rmi basic, why skeleton is not needed ?

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I am beginner to RMI,
Why we need to place stub files generated after executing,
rmic -v1.2 BookServerSide
BookServerSide_stub.class to both client & server side ?
As i know, stub file is a representation of server side object over the
client side, to which client pass the request.
If i dont put the stub file over the server i get an exception
java.lang.ClassNotFoundException: BookServerSide_Stub
even though i agree to a point, how server will come to know client ? Why we dont generate skeleton file as in jdk1.1 ?
from ,
vikram.
Jerry Pulley
Ranch Hand

Joined: Sep 19, 2000
Posts: 221
Videsh,
Please read the JavaRanch policy on user names at http://www.javaranch.com/name.jsp, and register a first and last name.
Thanks,
Jerry
Brandon Rich
Greenhorn

Joined: Aug 06, 2001
Posts: 1
http://www.jguru.com/faq/view.jsp?EID=330333
This link is to a thread on jGuru about this topic. I think it was answered quite nicely.
------------------
--
Brandon Rich <brandon@trainix.com>
Trainix, Inc. - "Teaching Tomorrow, Today."
www.trainix.com


--<BR> Brandon Rich <brandon@trainix.com><BR> Trainix, Inc. - "Teaching Tomorrow, Today."<BR> <A HREF="http://www.trainix.com" TARGET=_blank rel="nofollow">www.trainix.com</A>
Heideluise Martin
Greenhorn

Joined: Aug 12, 2003
Posts: 1
I have a problem with stub and skeleton's too. My application is running, but I want to avoid stub loading from codebase, because stubs are in the client jar. This is not necessary. the jvm should load them locally.
How to replace the RMILoader ? When i replace the RMILoader so, that it doesn't annote the url for the stub , would this slove the problem, and how to do this ? Using >= JDK1.3.1 to 1.4.2 my Application runs under all this jre's. Is there good example site how to configure RMI with rmi Properties and there pro and cons. My Application makes HTTP - Tunneling.
Is there an way that the RMI - Runtime will make HTTP Tunneling without testing if it is necessary. RMI -Tunneling should be the default always in my scenario. The first request of the plugin on Port 1099 could cause large timeouts. Sometimes rejects in the firewall can't avoid large timeout's.
Ok, Skeleton's are avaibale in my Application because the server layer could be used from JDK1.1. But about now we don't use JDK1.1 any longer.
I've there was jguru and other sites get not deep enough. The sun sites don't really explain how to configure a complex real world application. The rmi Properties, and when to use some of the properties. Some properties are really clear, some not.
Thank' s. I hope someone have made the expierence to avoid these problems.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Rmi basic, why skeleton is not needed ?
 
Similar Threads
RMI and EJB...
stubs
How to deploy classses in RMI
Rmi basic, why skeleton is not needed ?
RMI codebase