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.
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.