Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rmic stubs question

 
Ali Hussain
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have no experience of RMI and have a simple question.

My remote server interface is SearchBookingFacadeRemote and its implementation is SearchBookingFacadeRemoteImpl.

When I run "rmic -v1.2 -classpath . -d classes suncertify.remote.SearchBookingFacadeRemoteImpl", it updates class files for SearchBookingFacadeRemote, SearchBookingFacadeRemoteImpl and generates SearchBookingFacadeRemoteImpl_Stub class for me.

Is that all I need to include in my submission (runme.jar) to avoid dynamic class loading etc?

Thanks.
 
Ali Hussain
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just found that it is all I need, since skeletons are only used in JDK1.1 compatible versions. Please correct me if I am wrong.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic