Announcement Announcement Module
Collapse
No announcement yet.
Serialization and backing object Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Serialization and backing object

    Hai users

    I am having a small doubt.I have implemented serializable in my bean.Is it necessary to implement it.Then the value of the data in the bean is maintained until the next submit.What is the problem.Should i reinitialized them all in the backing object.

    Thanks
    aniesh U.K

  • #2
    If you are storing "simple" objects (Strings, Double etc.) then there is no need.

    If you are storing references to "services" etc. then yes, you probably should.

    Unless you know *when* and *if* and more importantly *why* you are going to be serialised you shouldn't really be implementing Serialisable.

    Comment

    Working...
    X