-
1. Re: SMPC with ViewScoped managed bean
yangju.richard.yang.pearson.com Feb 28, 2011 12:04 AM (in response to andrewwheeler)Sorry to hijack your thread. But I asked similar question in other thread and got no response.
I have the same question... for two months. The Seam 3 faces and persistence modules documentations are really short and lacking details.
I would like to know how we can set manual flush in the SMPC so that the transaction can be committed independent of jsf life cycle's transaction.
What I observed (with latest CR1 and previous beta) that in the case of view scoped or conversation scoped weld managed beans, the transaction to the database can only be committed when either the long conversation is ended or the view scoped method is ended. Our service layer is separated from controller and only the service layer (@TransactionAttribute) has SMPC (conversation scoped) injected.
We'd like to know how the faces module work with persistence module as far as transaction is concerned. Really need some direction, please!