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?

Answers were Sorted based on User's Feedback



What are skeletons and stubs and how they are generated?..

Answer / amalendra

Stub is java class that knows how to interact with
skeleton. Thus client program calls the remote method on
stub and stub in-turns call the method on skeleton, again
skeleton call the method on actual remote class.
Stub reside on cleint side where as skeleton reside on
Remote.

rmic utility can be used to generate Stub and Skeleton.

Is This Answer Correct ?    3 Yes 0 No

What are skeletons and stubs and how they are generated?..

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

More Advanced Java Interview Questions

What is a session? Can you share a session object between different theads?

0 Answers  


what is the Scope of Final Keyword in Java?

1 Answers   HCL,


What is difference between object state and behavior?

0 Answers  


how to get value in combo for updation?

1 Answers   CMC,


What is metaspace?

0 Answers  


Is infobus easy to use?

0 Answers  


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

1 Answers   Zensar,


What is the relationship between the canvas class and the graphics class?

0 Answers  


what is the life cycle of jsp?

1 Answers   HCL, ITC Infotech,


What is the difference between session and entity beans?

0 Answers  


How to synchronize jsp page?

1 Answers   Infotech, TCS,


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

0 Answers  


Categories