File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes Stub Skelton doubt ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Stub Skelton doubt ?" Watch "Stub Skelton doubt ?" New topic

Stub Skelton doubt ?

manish basotia
Ranch Hand

Joined: Jan 12, 2004
Posts: 47
If i have an application in which there 10 remote class with similar kind of remote function in them. do i need to create 10 stub and skelton for that.
Please reply ASAP
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Yes, each implementation needs it's own stub and skeleton. You would only need one remote interface class though (as long as all the methods were the same). The stub and skeleton are used to talk to the specific implementation of the generic remote interface.

This isn't as bad as it sounds... if you set things up correctly, the stub gets downloaded dynamically by the client, so the client doesn't need a local copy.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: Stub Skelton doubt ?
It's not a secret anymore!