• 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 ]
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!