Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about rmi

 
stanley wang
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,ranchers :
i can get the instance of datainfo and fieldinfo from the server side ,but i can't get the instance of data class.
unmarshaling error is come out .
why?
and : must do it ?
 
BJ Grau
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DataInfo and FieldInfo are marked Serializable, Data isn't, nor does it implement Remote.
I didn't worry about getting a remote reference to Data. Instead I got a reference to a Remote object that has a reference to Data.
I forgot to mention that I based my server on this: http://java.sun.com/products/jdk/1.2/docs/guide/rmi/Factory.html
[ July 28, 2002: Message edited by: BJ Grau ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic