1 Reply Latest reply on May 19, 2009 7:57 AM by Nicklas Karlsson

    Dependent scope

    Arbi Sookazian Master

      In chapter 34 of Yuan et al 2nd ed book, there is an example of @Dependent scope (which is currently not available AFAIK in Seam 2.x).

      Let's assume that HotelSearchCriteria component (bean?) is @SessionScoped and @Dependent annotated.  And HotelSearchingAction component/bean is @ConversationScoped annotated.

      So in this scenario, when the conversation is demoted to temporary conversation (assuming this concept exists in 299 which I did not see) and/or destroyed, will the @SessionScoped component be destroyed as well?

      interesting concept (saves a lot of cleanup headache in some use cases).