This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

rmic is not generating skeleton

 
MuraliKrishna Bhadragiri
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1638
IntelliJ IDE Java MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic