Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI things to be done

 
Kannan Ekanath
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Old Posts

There are some posts discussed above but thought I will finally document and check. For the RMIC I have a line saying that we should download any additional classes. I have an ant script to package my code into the final jar (so that I do all code, docs packaging etc). I wont be shipping this ant script though.

For rmic, I have two remote classes in my code path (One remote object and the other the factory). I just run rmic on these two classes and I add these classes to the jar (runme.jar) in the same package level.

So I get,
DBRemoteDBImpl.class and two more classes to go with it viz,
DBRemoteDBImpl_Stub.class
DBRemoteDBImpl_Skel.class

DBRemoteFactoryImpl.class and two more classes
DBRemoteFactoryImpl_Stub.class
DBRemoteFactoryImpl_Skel.class

Can someone tell me if that is it? I attach the stub and skel classes and that is it?
 
Matheus Mendes
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kannan,

I had the same doubts and some friends, here from the ranch, told me that I don't need to submit the Stubs and Skels.
 
Roberto Perillo
Bartender
Posts: 2273
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly. Since Java 1.5, this is not necessary anymore. I did not generate and stub and passed!
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!