This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "rmic is not generating skeleton" Watch "rmic is not generating skeleton" New topic
Author

rmic is not generating skeleton

MuraliKrishna Bhadragiri
Greenhorn

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.


regards,
Krish...
MuraliKrishna Bhadragiri
Greenhorn

Joined: Jul 14, 2008
Posts: 5
Hi,

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.

regards,
Krish...
Nitesh Kant
Bartender

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!
 
jQuery in Action, 2nd edition
 
subject: rmic is not generating skeleton
 
Similar Threads
Does rmic command spit out...
Rookie questions: RMI operation.
If anyone know plz reply me
Servlets and RMI
RMI Skeleton class