Explain the stub's and skeleton's functionality?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is an isolation level?

2205


Are we allowed to change the transaction isolation property in middle of a transaction?

555


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?

1550


how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

1743


Why won’t the jvm terminate when I close all the application windows?

746






A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

1808


What are the different approaches to represent an inheritance hierarchy?

577


What are the design considerations while making a choice between using interface and abstract class?

538


What is table mutation and how do you avoid it?

1908


When a thread blocks on i/o?

558


Explain the advantages and disadvantages of detached objects.

568


What is the purpose of the wait() method?

614


Why are some of the class and element names counter-intuitive?

563


Write a singleton program?

562


Name the class that is used to bind the server object with RMI Registry?

1687