Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

Data Abstraction and RMI in java

Thu Oct 23, 2008 4:08 pm

1)Can any 1 tell me what excatly the Data Abstraction concept in java is ???

2)Other thing i want to know is what is the use of stubs and skeleton in RMI
program. ???



Re: Data Abstraction and RMI in java

Thu Oct 23, 2008 4:09 pm

Data abstraction is to hide something.... like in Java you are
associating the methods or in general words the behaviour of the
class which is hidden from the actual users. just by creating the
object of that class and calling the method you can get the desired
output. we can take an example of a car also. it has a break paddle,
irrespective of knowing hoe many joints and different parts
associated in that mechanism user simply applies pressure on paddle
and get the desired output i mean he is able to apply break. the
whole mechanism is working as a back end and its hidden from the
user of the car.

stubs and skeletons are used in the remote call in distributed
network. and they act as the proxy server and client for the
repective machine. in terms of RMI when we say that client is
communicating to the server, the actual communication happens
between the stub and skeleton. but in Java 2, skeleton does not
exist only stubs are there.

Re: Data Abstraction and RMI in java

Thu Oct 23, 2008 4:11 pm

stubs is just a proxy at client side whereas skeleton is proxy at server side:-

view this for morw details:-

http://images.google.com/imgres?imgurl= ... IMS/Doc/De\
tails/Protocols/rmi/rmi1.gif&imgrefurl=http://infolab.stanford.edu/CHAIMS/Doc/De\
tails/Protocols/rmi/rmi_description.html&h=480&w=640&sz=8&hl=en&start=9&sig2=YHz\
4kJZZxyUaY01peASWQg&tbnid=77EOhS01eda01M:&tbnh=103&tbnw=137&ei=4EErR5L4GYLggQOX8\
Y2EAQ&prev=/images%3Fq%3Drmi%26gbv%3D2%26svnum%3D10%26hl%3Den

Post a reply
  Related Posts  to : Data Abstraction and RMI in java
 java data types     -  
 data access layer for java     -  
 Data Export from java To Excel     -  
 data leakage detection coding in java     -  
 Des java Applet ( Data Encryption Standards )     -  
 Arithmetic data comparison and decompression java code     -  
 LZW data compression-decompression algorithm java code     -  
 What is Data integration?     -  
 c++/data structure     -  
 Data set for ID3 algorithm     -