2 Replies Latest reply on Feb 10, 2009 8:30 AM by marx3

    Serializable

    marx3

      SFSB are passivated when not needed. Should they implement Serializable interface? SeamGen doesn't generate such examples. I also see that container tries to passivate some SFSB despite not extending Serializable interface (and sometimes fails).
      Booking example is also inconsistent - BookingListAction.java implements Serializable, other SFSB doesn't.

        • 1. Re: Serializable
          nickarls

          Uneducated guess: you don't need to implement Serializable since you are always dealing with home objects/proxies that are automagically serializable.

          • 2. Re: Serializable
            marx3

            not exactly. What google says it's good practice to use Serializable in SFSB, but it's not obligatory because container always tries to passivate SFSB.