Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

RMI , creating stub and skelton

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there , I am very new to websphere. Can someon tell me how to get the stub and skelton created , I have the interface and the implemention of it. but when I compile the class , it errors with

java.rmi.StubNotFoundException: Stub class not found: DateServerImpl_Stub; nested exception is:
java.lang.ClassNotFoundException: DateServerImpl_Stub
java.lang.ClassNotFoundException: DateServerImpl_Stub
at java.net.URLClassLoader.findClass(URLClassLoader.java:240)
at java.lang.ClassLoader.loadClass(ClassLoader.java:516)

I am not finding the option to compile using the rmic or do the rmiregistry& ,, can someone guide me on doing this . thanks much
 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi..

If you are using WSAD, you can allow it to generate the stub and skeleton for you. Just right click on the EJB Appliaction in the J2EE Navigator window and click on the Generate > Deploy and RMIC Code from the drop down.

WSAD will now create those for you...


HTH.....
 
reply
    Bookmark Topic Watch Topic
  • New Topic