• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
reply
    Bookmark Topic Watch Topic
  • New Topic