Results 1 to 2 of 2

Thread: Serialization and backing object

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    COIMBATORE-INDIA
    Posts
    110

    Default 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. #2
    Join Date
    Aug 2004
    Posts
    1,905

    Default

    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.

Similar Threads

  1. Replies: 9
    Last Post: May 4th, 2006, 09:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •