This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Rmic stubs question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Rmic stubs question" Watch "Rmic stubs question" New topic

Rmic stubs question

Ali Hussain
Ranch Hand

Joined: Jun 19, 2005
Posts: 211
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?


- SCEA, SCJD, SCBCD, SCWCD, SCMAD, SCJP, ICAD (WebSphere), Lotus Principal CLP, Lotus CLP, Lotus CLS
Ali Hussain
Ranch Hand

Joined: Jun 19, 2005
Posts: 211
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.
I agree. Here's the link:
subject: Rmic stubs question
jQuery in Action, 3rd edition