the problem is that with a command interface, i don't see a way to prevent many small
transactions during the rendering phase.
doing it with commands, each backing bean that is accessed during rendering of a page
would result in a separate transaction.
i don't see a way around that with jsf and ejb cmt.
unless we use JTA directly (through the UserTransaction) we can't make sure that the
rendering is done in one transaction. but then all the commands are executed in the same
transaction. which conflicts with the idea of the each command being executed in one
transaction...
using the UserTransaction, we can get the exact same behaviour in enterprise as in
standard edition. namely one transaction for the user command (if there is one) and one
transactino for the rendering phase.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968986#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...