Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are skeletons and stubs and how they are generated?

Answer Posted / akshay odhekar

Stub and Skeleton are two objects created by Server.To
create these two objects we give command "rmic" then
filename_stub.class is generated.
Server then gives this stub to client.also object binding
is done and registerd in rmi registry.
When Client object wants to invoke method residing in
server.
It will look in to rmi registry for avaiblity of that oject.
If binding of that object is done by server. then Client
sends parameter to server via Stub after serializing them.
Stub communicates with skeleton and method is invoked and
result is sent back to stub.all this is marshalling and
unmarshalling.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a tasks priority and how is it used in scheduling?

998


What is difference between object state and behavior?

1037


What are the benefits of detached objects?

1009


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?

2054


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

985


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

1015


What classes of exceptions may be caught by a catch clause?

974


Java is fully object oriented languages or not?

942


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

1183


What is the difference between the ‘font’ and ‘fontmetrics’ class?

1107


What is TL and its use?

2404


Is there a guarantee of uniqueness for entity beans?

959


Why does the option tag render selected=selected instead of just selected?

1122


Can I run seam outside of jboss as?

1033


Define the remote object implementation?

2401