[jboss-user] [JBoss Seam] - A little confuse on stateful context scope types

gus888 do-not-reply at jboss.com
Tue Jan 15 00:06:12 EST 2008


Anybody can explain the distinguish among the stateful context scope types listed below. If I don't use long-running conversation, their functionalities are same? Thank you very much in advance. at Name("myAction")
  | @Stateful
  | @Scope(ScopeType.EVENT) 
  | public class MyActionBean implements MyAction {
  | ...
  | }
  | 
  | @Name("myAction")
  | @Stateful
  | public class MyActionBean implements MyAction {
  | ...
  | }
  | 
  | @Name("myAction")
  | @Stateful
  | @Scope(ScopeType.CONVERSATION) 
  | public class MyActionBean implements MyAction {
  | ...
  | }

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

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



More information about the jboss-user mailing list