[jboss-user] [JBoss Seam] - Long Running Conversation Problem after Upgrade to Seam 2.0.

jgaoz do-not-reply at jboss.com
Tue Dec 4 15:40:09 EST 2007


We are using JBoss 4.2.0 with Seam.

Currently we meet a long running conversation problem just after upgrading seam from 2.0.0 Beta1 to 2.0.0 GA. The problem is described as following.

We have a scenario of long running conversation involving three stateful beans, Bean A (@Begin init()), Bean B (@Begin(join=true) init() ), Bean C (@Begin(join=true) init() ). These three beans are backing three pages (Page A, Page B, and Page C) individually.

Page A invokes the Bean A’s init( ) method to start the long conversation; When user inputs some data and clicks a “Go” button on Page A, the user is navigated to Page B and Bean B joins the conversation by its init() method invoked; Then after user inputs some data and clicks a “Go” button on Page B,  the user is navigated to Page C and Bean C joins the conversation by its init()  method invoked. 

So far so good. But the problem comes when user clicks “Done” button on Page C and the user is navigated back to Page B. At this time, it is observed that the states of Bean B are not restored (lost).  (The Beam B object reference is retrieved correctly)

Previously with Seam 2.0.0 Beta1, it was observed that the states of Bean B were restored correctly.

Is there anyone who met the same problem? Can Seam team give some clue to solve the problem or workaround?

Thanks


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

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




More information about the jboss-user mailing list