• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Rmi basic, why skeleton is not needed ?

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 <[email protected]>
Trainix, Inc. - "Teaching Tomorrow, Today."
www.trainix.com
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Would you turn that thing down? I'm controlling a mind here! Look ... look at the tiny ad ...
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic