Explain the stub's and skeleton's functionality?

Answers were Sorted based on User's Feedback



Explain the stub's and skeleton's functionality?..

Answer / anonymous

Assume, there are two real persons.
Jayan - He provides some calculation services to people.
He lives in WebLogic Server.

When some one want to ask him to do calculations, they
should connect to WebLogic Server.
When jayan is being called by some one, the weblogic server
creates his Duplicate-1 in the calling people's Computer.
this is stub.
In the Weblogic also there is Dup-2 created. this is
skeleton.
Actually the stub asks the server to make jayan perform the
calculation.
But in reality, the Dup2 carries this request to Jayan. So
the other guy cannot DIRECTLY talk to jayan. All messages
will be intercepted by Dup1.
Jayan takes messages from Dup1 and perform the task.

Is This Answer Correct ?    8 Yes 5 No

Explain the stub's and skeleton's functionality?..

Answer / janu

Stub-Its a Client side activity.This Functionality is
Marshalling and Unmarshalling.
Skeleton-Its a Server Side Activity.Its Response for the
Client's Purpose.

Is This Answer Correct ?    2 Yes 0 No

Explain the stub's and skeleton's functionality?..

Answer / anonymous

Mistake----
"""All messages will be intercepted by Dup1.
Jayan takes messages from Dup1 and perform the task"""

Should read as --- Dup2---

Is This Answer Correct ?    2 Yes 2 No

Explain the stub's and skeleton's functionality?..

Answer / deepika

stub in client generally marshalls the data and sends to skeleton in server where deMarshalling takes place

Is This Answer Correct ?    2 Yes 2 No

Explain the stub's and skeleton's functionality?..

Answer / prabhu

wat dup1 and dup 2 stands for?and is it kind of an object?

Is This Answer Correct ?    1 Yes 2 No

Explain the stub's and skeleton's functionality?..

Answer / ankit sharma

hello i am working on my Mtech project of remote event
notification and monitering in JAVA
can anyonw plz help regaring ang any book or any study material
thanks in advance

mail me at ankit.success@gmail.com

Is This Answer Correct ?    0 Yes 2 No

Explain the stub's and skeleton's functionality?..

Answer / anonymous

If you have doubts post here,Iwill reply.

Is This Answer Correct ?    0 Yes 11 No

Post New Answer

More Advanced Java Interview Questions

Brief description about local interfaces?

0 Answers  


whats is stored procedure,joins

1 Answers   Photon,


Which javutil classes and interfaces support event handling?

0 Answers  


What is the difference between a static and a non-static inner class?

0 Answers  


What is metaspace?

0 Answers  






What are the JSP implicit objects ?

1 Answers   eMids,


What is meant by multi-threading?

6 Answers  


difference between apllet and interface class

1 Answers   Infotech,


How will you pass parameters in RMI? Why do you serialize?

0 Answers  


Why are component architectures useful?

0 Answers  


How do you iterate in Hashmap?

1 Answers   HCL, Infotech,


What is RMI Registry?

6 Answers   Siemens, United Software Solutions,


Categories