1 Reply Latest reply on Mar 20, 2006 10:29 PM by treespace

    SFSB - when to @Remove?

    tsar_bomba Newbie

      I'm building a simple shopping cart for what should be a moderately busy storefront for our company (maybe 50-100 users per-day, avg.)

      I've got a method called checkout() where I've annotated @Remove to clear the session resources when the method is called.

      My question is; what happens to those customers who don't checkout? Typically, in a shopping cart system, you'll have a lot of users who won't completely finish shopping and go through the entire checkout process. What happens to those "un-removed" resources? Will GC get them eventually?