• Post Reply Bookmark Topic Watch Topic
  • New Topic

can a reference be passed across JVM's?  RSS feed

 
Sri Vidya
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can a reference be passed across JVM's..?
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No it can't. If an object is serializable it can be passed though, through files and sockets (using ObjectInputStream and ObjectOutputStream) or RMI. There are other ways, but these are the most common.
 
Campbell Ritchie
Marshal
Posts: 56570
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and welcome to JavaRanch, Sri Vidya
 
Sri Vidya
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks alot to both Rob Prime and Campbell Ritchie
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!