• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

What is the Types for RMI/IIOP?

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the Types for RMI/IIOP? It includes primitive type, Serializable type, and what else??
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy folks,
I'm back again for a little while
There's a slight difference between RMI and RMI/IIOP, but for the purposes of the exam, anything that is considered an RMI type is all you need to know. You do not need to understand the subtle differences between RMI and RMI/IIOP types.
The types are primitives, Serializables, Remote objects, an array of any of those things, and a Collection of Serializable or Remote objects EVEN if the Collection interface is not itself Serializable, as long as the Collection implementation is in fact Serializable (and most, although not ALL, are).
So, basically the only things that are not valid types are non-Serializable *objects*. But one bad apple spoils the rest of the collection, so if you have an array or Collection of objects, ALL the objects must be Serializable or references to Remote objects (which means a Serializable stub will be substituted).
cheers,
Kathy
 
Your mind is under my control .... your will is now mine .... read this tiny ad
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic