This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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!
Have you checked out Aspose?
subject: rmic is not generating skeleton
jQuery in Action, 3rd edition