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 is UniCastRemoteObject and what is its use in RMI?

Answer Posted / vatsal doshi

There are many purposes for using a Unicast Remote Object

1. All the basic functionalities of RMI are actualy
implemented in this class. When we extend this class, in our
Remote class, all the RMI code gets inherited and becomes
available in our class

2. UnicastRemoteObject also implements Serializable
interface. So your subclass also automatically implements
Serializable. And thus marshalling is then supported for
your type

3. UnicastRemoteObject also prevents the methods of Object
class from being directly inheritted into the Remote class.
Thereby, preventing the 11 methods of Object class from
being invoked Remotely. methods like hashcode() need
different implementations for Remote invocations.

Is This Answer Correct ?    23 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I run seam with jdk 1.4 and earlier?

994


Which component handles cluster communication in jboss?

1114


what is an isolation level?

2761


AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

2150


What are the different approaches to represent an inheritance hierarchy?

1075


Why do I get a duplicate name error when loading a jar file?

1152


Describe responsibilities of Activator?

2277


How messaging services are done, before release of JMS?

2145


Can I have an action without a form?

1110


What is scalable, portability in the view of J2EE?

2531


What is the difference between the string and stringbuffer classes?

1104


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

1031


What is clustering? What are the different algorithms used for clustering?

1082


What are the different methods of identifying an object?

1080


What is aop(assepct oriented programing)?

1066