2 Replies Latest reply on Sep 11, 2007 6:55 AM by Andreas Franke

    Ask for some understanding

    Andreas Franke Apprentice

      I know Seam for a while, but have some questions regarding things like @Scope. @Stateful and Interfaces.

      If I create a Bean with @Stateful and @Scope(ScopeType.SESSION) annotation for example I have to implement an interface to access fields and methods from my JSF page. If I create a Bean without @Stateful annotation but with @Scope(ScopeType.SESSION) I don't need an interface for access.

      Now, why I should use @Stateful annotation or is ther any benefit, because I can reach goal without interfaces?

      I would be grateful to hear ...