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

Entity implements serializable

 
Deepika Joshi
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In examples, Few entities implements serializable and few do not. Can you please write the reason for this.
Thanks.
 
Devaka Cooray
Marshal
Pie
Posts: 4894
409
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Deepika,

Implementing Serializable is not mandatory for entities. But if the entity should be passed as a valued object (to a Remote method), it should implement the Serializable interface.

Devaka.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic