• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

rmic is not generating skeleton

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic