Improve whitespace around transactions
Fix the transaction management to required
Support generation as a CDI bean