wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Stub Skelton doubt ?" Watch "Stub Skelton doubt ?" New topic
Author

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
Thanks
Manish
Nathan Pruett
Bartender

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.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Stub Skelton doubt ?
 
Similar Threads
RMI Server problem, errors
How EJB works?
query on methods of stateless
stub and skel not created by Weblogic deployer utility
stubs and skeletons in EJB