[jboss-user] [JBoss Seam] - Ask for some understanding

hispeedsurfer do-not-reply at jboss.com
Mon Sep 10 06:44:17 EDT 2007


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 ...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082550#4082550

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082550



More information about the jboss-user mailing list