File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes rmic is not generating skeleton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "rmic is not generating skeleton" Watch "rmic is not generating skeleton" New topic

rmic is not generating skeleton

MuraliKrishna Bhadragiri

Joined: Jul 14, 2008
Posts: 5
Hi ,
I am trying a test example on RMI. But when trying to generate the stub and skeleton using the rmic tool , the command is running successfully but it is generating only the stub for the implementation class and is not generating the skeleton for the implementation class. Can you give some suggestions.

MuraliKrishna Bhadragiri

Joined: Jul 14, 2008
Posts: 5

I got the solution for that .
To generate the stub and the skeleton files for the implementation class
use the following template command .

rmic -vcompat -classpath C:/PracticePrograms/RMI/server FactImpl

where "C:/PracticePrograms/RMI/server" is the directory where implementation class "FactImpl" is placed.

Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

By any chance if you are on jdk 5 or above, you do not need stubs (you do not need skeletons since 1.2 i think!! )
Since jdk 5, rmi uses dynamic proxies.

Here is the release note on that.

apigee, a better way to API!
subject: rmic is not generating skeleton
It's not a secret anymore!