• 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

RMI

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

"When you pass a serialized object as an argument or return value, you better make sure the class file for the type you're passing is available on the other side. If the class isnt there, the object will never deserialize and you're screwed"...

How come the class should be there on the Remote Object when we pass a serialized object? I am not clear with the above statement. Can anyone of you help me out???

I'm reading HF EJB. & this sentence is there in PgNo. 77..

Thnx,

Poornima
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The class needs to be there (somewhere in the classpath), while you're passing an object, i.e., an instance of the class. Without the class, the receiving machine can't know what kind of thing it is that you're sending.
 
reply
    Bookmark Topic Watch Topic
  • New Topic