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

How has the sandbox changed with Java 2?

2 Answers  


what do u mean by java bean??

2 Answers   ADP,


Is System.err.println(""Statement"); is execute the output on console . Example: System.err.println("Hello JAVA");

8 Answers  


Is multiple try block is possible in single java Application......

3 Answers  


How will the struts know which action class to call when you submit a form?

6 Answers   HeadStrong,






does j2ee means advanced java

10 Answers  


Explain the difference between object state and behavior?

0 Answers  


Where we can write Rmi registry in the code, without having to write it at the command prompt?

0 Answers  


Can constructors be synchronized in java?

0 Answers  


Which textcomponent method is used to set a textcomponent to the read-only state?

0 Answers  


important features of java which differenciate it from c++

3 Answers  


What is JTS?

0 Answers  


Categories