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

Object Serialization

 
Mark O' Sullivan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
For my project I have created a hotel reservation class but I have made it implement serializable. I notice in the project description for non-networking mode it states "and must not involve the serialization of any objects when communicating between the GUI and database elements". Does serialization just occur across a network or if a class implements serializable, will it automatically be serialized even in non-networked mode?
Thanks.
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No no, champ. No worries. It will just be serialized if you say so (via ObjectOutputStream) or when you work in network mode.
 
Mark O' Sullivan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cheers, thanks very much for your reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic