aspose file tools*
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
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: rmic is not generating skeleton
 
Similar Threads
If anyone know plz reply me
Servlets and RMI
Does rmic command spit out...
Rookie questions: RMI operation.
RMI Skeleton class