Is this already solved? Can the two configurations (one for the webapp and one for the EE service) not live together? Relying on the command interface will result in problems trying to port the webapp on containers like Tomcat, no?
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.