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

What is Bootstrapping in RMI?

1 Answers  


whats is mean by jndi

4 Answers   SolutionNET,


When is the best time to validate input?

0 Answers  


Is the ternary operator written x : y ? Z or x ? Y : z ?

0 Answers  


What is source and listener?

1 Answers  






What event results from the clicking of a button?

0 Answers  


what are design patterns in java?give with example?

2 Answers   HCL, iGate,


On a computer that having single CPU, how multithreading concept can be achieved?

1 Answers   Zensar,


Describe, in general, how java's garbage collector works?

0 Answers  


Which are the different segments of memory?

0 Answers  


can a static method be overridden

12 Answers   SolutionNET,


In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

0 Answers  


Categories